1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-28 11:35:31 +02:00

[kernel] another #ifdef around pci_set_mwi call

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21854 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
claudio 2010-06-20 14:04:45 +00:00
parent ab22ad7e44
commit 0345992639

View 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!");