[kernel] pci_set_mwi depends upon CONFIG_HAVE_PCI_SET_MWI
authorclaudio <claudio@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 20 Jun 2010 12:41:22 +0000 (12:41 +0000)
committerclaudio <claudio@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 20 Jun 2010 12:41:22 +0000 (12:41 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21849 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/generic-2.6/files/crypto/ocf/hifn/hifn7751.c

index 6136e84..e7fd5bb 100644 (file)
@@ -434,8 +434,10 @@ hifn_probe(struct pci_dev *dev, const struct pci_device_id *ent)
        if (pci_enable_device(dev) < 0)
                return(-ENODEV);
 
+#ifdef CONFIG_HAVE_PCI_SET_MWI
        if (pci_set_mwi(dev))
                return(-ENODEV);
+#endif
 
        if (!dev->irq) {
                printk("hifn: found device with no IRQ assigned. check BIOS settings!");
This page took 0.033115 seconds and 4 git commands to generate.