ocf: switch MODULE_LICENSE from BSD to "Dual BSD/GPL" to make the kernel recognize...
[openwrt.git] / target / linux / generic / files / crypto / ocf / hifn / hifn7751.c
index b7df819..3e5cc9b 100644 (file)
@@ -434,10 +434,8 @@ hifn_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!");
@@ -2951,6 +2949,6 @@ static void __exit hifn_exit (void)
 module_init(hifn_init);
 module_exit(hifn_exit);
 
-MODULE_LICENSE("BSD");
+MODULE_LICENSE("Dual BSD/GPL");
 MODULE_AUTHOR("David McCullough <david_mccullough@mcafee.com>");
 MODULE_DESCRIPTION("OCF driver for hifn PCI crypto devices");