From: santosh nayak Date: Tue, 21 Feb 2012 10:08:13 +0000 (+0530) Subject: firewire: nosy: Use the macro DMA_BIT_MASK(). X-Git-Tag: v3.4-rc1~127^2~15 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e894d1d7fd8cfa89a085df2d368a5e652751b0a1;p=karo-tx-linux.git firewire: nosy: Use the macro DMA_BIT_MASK(). Use the macro DMA_BIT_MASK instead of the constant 0xffffffff Signed-off-by: Santosh Nayak Signed-off-by: Stefan Richter --- diff --git a/drivers/firewire/nosy.c b/drivers/firewire/nosy.c index 763626b739d1..a7c4422a688e 100644 --- a/drivers/firewire/nosy.c +++ b/drivers/firewire/nosy.c @@ -36,7 +36,7 @@ #include #include #include - +#include #include #include @@ -536,7 +536,7 @@ add_card(struct pci_dev *dev, const struct pci_device_id *unused) u32 p, end; int ret, i; - if (pci_set_dma_mask(dev, 0xffffffff)) { + if (pci_set_dma_mask(dev, DMA_BIT_MASK(32))) { dev_err(&dev->dev, "DMA address limits not supported for PCILynx hardware\n"); return -ENXIO;