ocf: update to version 20120127
[15.05/openwrt.git] / target / linux / generic / files / crypto / ocf / hifn / hifnHIPP.c
index 5bb5602..4d6950a 100644 (file)
@@ -208,10 +208,8 @@ hipp_probe(struct pci_dev *dev, const struct pci_device_id *ent)
        if (pci_enable_device(dev) < 0)
                return(-ENODEV);
 
-#ifdef 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!");
@@ -385,7 +383,6 @@ static struct pci_device_id hipp_pci_tbl[] = {
          PCI_ANY_ID, PCI_ANY_ID, 0, 0, },
        { PCI_VENDOR_HIFN, PCI_PRODUCT_HIFN_8155,
          PCI_ANY_ID, PCI_ANY_ID, 0, 0, },
-       { 0 }
 };
 MODULE_DEVICE_TABLE(pci, hipp_pci_tbl);