[PATCH] drivers/mfd/sm501.c: Replace pci_module_init with pci_register_driver
authorRichard Knutsson <ricknu-0@student.ltu.se>
Sat, 24 Feb 2007 10:46:06 +0000 (11:46 +0100)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 26 Feb 2007 20:35:47 +0000 (12:35 -0800)
Replace pci_module_init with pci_register_driver

Signed-off-by: Richard Knutson <ricknu-0@student.ltu.se>
Acked-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/mfd/sm501.c

index 5c5a1e2dda8a28ae425518649c8bf9bbce1ae291..c707c8ebc1a25be72e16938feeb76f172331d55a 100644 (file)
@@ -1131,7 +1131,7 @@ static struct platform_driver sm501_plat_drv = {
 static int __init sm501_base_init(void)
 {
        platform_driver_register(&sm501_plat_drv);
-       return pci_module_init(&sm501_pci_drv);
+       return pci_register_driver(&sm501_pci_drv);
 }
 
 static void __exit sm501_base_exit(void)