|
@@ -2865,15 +2865,4 @@ static struct pci_driver he_driver = {
|
|
|
.id_table = he_pci_tbl,
|
|
|
};
|
|
|
|
|
|
-static int __init he_init(void)
|
|
|
-{
|
|
|
- return pci_register_driver(&he_driver);
|
|
|
-}
|
|
|
-
|
|
|
-static void __exit he_cleanup(void)
|
|
|
-{
|
|
|
- pci_unregister_driver(&he_driver);
|
|
|
-}
|
|
|
-
|
|
|
-module_init(he_init);
|
|
|
-module_exit(he_cleanup);
|
|
|
+module_pci_driver(he_driver);
|