summaryrefslogtreecommitdiffstats
path: root/driver
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2012-02-11 03:17:44 +0100
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2012-02-11 03:17:44 +0100
commit0c0934bc67cf32458f80c0ebf2c416c3e6d4e9e7 (patch)
tree96463b118d78dd8e2c05f80a93955004c3158635 /driver
parent87f6ad60ca8a1ac458b8f0df119722f52c2a3fdf (diff)
downloadipecamera-0c0934bc67cf32458f80c0ebf2c416c3e6d4e9e7.tar.gz
ipecamera-0c0934bc67cf32458f80c0ebf2c416c3e6d4e9e7.tar.bz2
ipecamera-0c0934bc67cf32458f80c0ebf2c416c3e6d4e9e7.tar.xz
ipecamera-0c0934bc67cf32458f80c0ebf2c416c3e6d4e9e7.zip
Compilation with Linux-3.2
Diffstat (limited to 'driver')
-rw-r--r--driver/base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/base.c b/driver/base.c
index 8215660..58eb825 100644
--- a/driver/base.c
+++ b/driver/base.c
@@ -325,7 +325,7 @@ static int __devinit pcidriver_probe(struct pci_dev *pdev, const struct pci_devi
if ((id->vendor == PCIE_XILINX_VENDOR_ID)&&(id->device == PCIE_IPECAMERA_DEVICE_ID)) {
pci_set_master(pdev);
- err = pci_set_dma_mask(pdev, DMA_32BIT_MASK);
+ err = pci_set_dma_mask(pdev, DMA_BIT_MASK(32));
if (err < 0) {
printk(KERN_ERR "pci_set_dma_mask failed\n");
goto probe_dma_fail;