]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/tokenring/olympic.c
[PATCH] driver core: fix built-in drivers sysfs links
[linux-2.6-omap-h63xx.git] / drivers / net / tokenring / olympic.c
index cd142d0302bc6e98e2da22967774fca203c1e5d9..8f4ecc1109cb6b7e4eb4741a283183c34463aecb 100644 (file)
@@ -1771,7 +1771,7 @@ static struct pci_driver olympic_driver = {
 
 static int __init olympic_pci_init(void) 
 {
-       return pci_module_init (&olympic_driver) ; 
+       return pci_register_driver(&olympic_driver) ;
 }
 
 static void __exit olympic_pci_cleanup(void)