Commit f15e66b9 authored by Richard Knutsson's avatar Richard Knutsson Committed by Linus Torvalds

[PATCH] drivers/mfd/sm501.c: Replace pci_module_init with pci_register_driver

Replace pci_module_init with pci_register_driver
Signed-off-by: default avatarRichard Knutson <ricknu-0@student.ltu.se>
Acked-by: default avatarBen Dooks <ben-linux@fluff.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 5d5dde2e
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment