aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/mfd/sm501.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/sm501.c b/drivers/mfd/sm501.c
index 5c5a1e2dda8a..c707c8ebc1a2 100644
--- a/drivers/mfd/sm501.c
+++ b/drivers/mfd/sm501.c
@@ -1131,7 +1131,7 @@ static struct platform_driver sm501_plat_drv = {
1131static int __init sm501_base_init(void) 1131static int __init sm501_base_init(void)
1132{ 1132{
1133 platform_driver_register(&sm501_plat_drv); 1133 platform_driver_register(&sm501_plat_drv);
1134 return pci_module_init(&sm501_pci_drv); 1134 return pci_register_driver(&sm501_pci_drv);
1135} 1135}
1136 1136
1137static void __exit sm501_base_exit(void) 1137static void __exit sm501_base_exit(void)