mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
[PATCH] drivers/mfd/sm501.c: Replace pci_module_init with pci_register_driver
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>
This commit is contained in:
parent
5d5dde2ed9
commit
f15e66b932
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue