drivers/net: Remove deprecated use of pci_module_init()
From: Michal Piotrowski <[email protected]>
Signed-off-by: Michal Piotrowski <[email protected]>
Signed-off-by: Jeff Garzik <[email protected]>
diff --git a/drivers/net/wan/dscc4.c b/drivers/net/wan/dscc4.c
index 684af43..af4d4155 100644
--- a/drivers/net/wan/dscc4.c
+++ b/drivers/net/wan/dscc4.c
@@ -2062,7 +2062,7 @@
static int __init dscc4_init_module(void)
{
- return pci_module_init(&dscc4_driver);
+ return pci_register_driver(&dscc4_driver);
}
static void __exit dscc4_cleanup_module(void)