diff options
-rw-r--r-- | drivers/ieee1394/pcilynx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ieee1394/pcilynx.c b/drivers/ieee1394/pcilynx.c index 2689d938276e..bdb3a85cafa6 100644 --- a/drivers/ieee1394/pcilynx.c +++ b/drivers/ieee1394/pcilynx.c | |||
@@ -43,6 +43,7 @@ | |||
43 | #include <linux/fs.h> | 43 | #include <linux/fs.h> |
44 | #include <linux/poll.h> | 44 | #include <linux/poll.h> |
45 | #include <linux/kdev_t.h> | 45 | #include <linux/kdev_t.h> |
46 | #include <linux/dma-mapping.h> | ||
46 | #include <asm/byteorder.h> | 47 | #include <asm/byteorder.h> |
47 | #include <asm/atomic.h> | 48 | #include <asm/atomic.h> |
48 | #include <asm/io.h> | 49 | #include <asm/io.h> |
@@ -1185,7 +1186,7 @@ static int __devinit add_card(struct pci_dev *dev, | |||
1185 | 1186 | ||
1186 | error = -ENXIO; | 1187 | error = -ENXIO; |
1187 | 1188 | ||
1188 | if (pci_set_dma_mask(dev, 0xffffffff)) | 1189 | if (pci_set_dma_mask(dev, DMA_32BIT_MASK)) |
1189 | FAIL("DMA address limits not supported for PCILynx hardware"); | 1190 | FAIL("DMA address limits not supported for PCILynx hardware"); |
1190 | if (pci_enable_device(dev)) | 1191 | if (pci_enable_device(dev)) |
1191 | FAIL("failed to enable PCILynx hardware"); | 1192 | FAIL("failed to enable PCILynx hardware"); |