From: Henrik Kretzschmar Date: Tue, 10 Oct 2006 21:33:29 +0000 (-0700) Subject: [PATCH] pci_module_init() convertion in olympic.c X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=83717cf054214d144165c576cba6362d07fc6656;p=linux-beck.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 cd142d0302bc..8f4ecc1109cb 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)