]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] pci_module_init() convertion in olympic.c
authorHenrik Kretzschmar <henne@nachtwindheim.de>
Tue, 10 Oct 2006 21:33:29 +0000 (14:33 -0700)
committerJeff Garzik <jeff@garzik.org>
Sat, 2 Dec 2006 05:11:55 +0000 (00:11 -0500)
pci_module_init() convertion in olympic.c

Signed-off-by: Henrik Kretzschmar <henne@nachtwindheim.de>
Acked-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
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)