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://review.tizen.org/git/?a=commitdiff_plain;h=83717cf054214d144165c576cba6362d07fc6656;p=platform%2Fkernel%2Flinux-exynos.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 cd142d0..8f4ecc1 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)