Commit 421385de authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] cciss: use pci_module_init()

From: mikem@beardog.cca.cpqcorp.net

This patch uses the pci_module_init wrapper for hot plug cases.  It is in the
2.4.  tree.
parent d0cdedf2
......@@ -2721,7 +2721,7 @@ int __init cciss_init(void)
printk(KERN_INFO DRIVER_NAME "\n");
/* Register for our PCI devices */
return pci_register_driver(&cciss_pci_driver);
return pci_module_init(&cciss_pci_driver);
}
static int __init init_cciss_module(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment