diff --git a/drivers/firewire/nosy.c b/drivers/firewire/nosy.c index 763626b739d1c8593628712dbafc01af76cf1254..a7c4422a688eadb572adda7de911ff3ae8632111 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;