From: Claudio Mignanti Date: Sun, 20 Jun 2010 14:04:45 +0000 (+0000) Subject: another #ifdef around pci_set_mwi call X-Git-Tag: reboot~19594 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=738b30afeba9c66ef4e0a30d80ee156b729cd45c;p=oweals%2Fopenwrt.git another #ifdef around pci_set_mwi call SVN-Revision: 21854 --- diff --git a/target/linux/generic-2.6/files/crypto/ocf/hifn/hifnHIPP.c b/target/linux/generic-2.6/files/crypto/ocf/hifn/hifnHIPP.c index a11b2368e7..802708d72c 100644 --- a/target/linux/generic-2.6/files/crypto/ocf/hifn/hifnHIPP.c +++ b/target/linux/generic-2.6/files/crypto/ocf/hifn/hifnHIPP.c @@ -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!");