]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - drivers/net/sundance.c
drivers/net: Remove deprecated use of pci_module_init()
[mirror_ubuntu-jammy-kernel.git] / drivers / net / sundance.c
index 90ac216d6dd5b3b85383ac1afb4c18fdd19864e0..c243a80f4006e4a8d7def429202cce2885456964 100644 (file)
@@ -1733,7 +1733,7 @@ static int __init sundance_init(void)
 #ifdef MODULE
        printk(version);
 #endif
-       return pci_module_init(&sundance_driver);
+       return pci_register_driver(&sundance_driver);
 }
 
 static void __exit sundance_exit(void)