[kernel] another #ifdef around pci_set_mwi call
[openwrt.git] / target / linux / generic-2.6 / files / crypto / ocf / hifn / hifnHIPP.c
index a11b236..802708d 100644 (file)
@@ -208,8 +208,10 @@ hipp_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.020757 seconds and 4 git commands to generate.