From 034599263990a8ab206af90239d63a0ee7df75eb Mon Sep 17 00:00:00 2001 From: claudio Date: Sun, 20 Jun 2010 14:04:45 +0000 Subject: [kernel] another #ifdef around pci_set_mwi call git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21854 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/generic-2.6/files/crypto/ocf/hifn/hifnHIPP.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'target') 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 a11b2368e..802708d72 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!"); -- cgit v1.2.3