From: Henrik Kretzschmar Date: Tue, 10 Oct 2006 21:33:29 +0000 (-0700) Subject: [PATCH] pci_module_init() convertion in olympic.c X-Git-Tag: v2.6.20-rc2~6^2~13^2~468^2~112 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=83717cf054214d144165c576cba6362d07fc6656;p=linux-2.6-omap-h63xx.git [PATCH] pci_module_init() convertion in olympic.c pci_module_init() convertion in olympic.c Signed-off-by: Henrik Kretzschmar Acked-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/tokenring/olympic.c b/drivers/net/tokenring/olympic.c index cd142d0302b..8f4ecc1109c 100644 --- a/drivers/net/tokenring/olympic.c +++ b/drivers/net/tokenring/olympic.c @@ -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)