Skip to content

Commit

Permalink
[PATCH] drivers/mfd/sm501.c: Replace pci_module_init with pci_registe…
Browse files Browse the repository at this point in the history
…r_driver

Replace pci_module_init with pci_register_driver

Signed-off-by: Richard Knutson <[email protected]>
Acked-by: Ben Dooks <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Richard Knutsson authored and Linus Torvalds committed Feb 26, 2007
1 parent 5d5dde2 commit f15e66b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mfd/sm501.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f15e66b

Please sign in to comment.