Browse Source

another #ifdef around pci_set_mwi call

SVN-Revision: 21854
Claudio Mignanti 15 years ago
parent
commit
738b30afeb
1 changed files with 2 additions and 0 deletions
  1. 2 0
      target/linux/generic-2.6/files/crypto/ocf/hifn/hifnHIPP.c

+ 2 - 0
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!");