diff options
author | Richard Knutsson <ricknu-0@student.ltu.se> | 2007-02-24 11:46:06 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-26 12:35:47 -0800 |
commit | f15e66b9328c8e2fef4f59f121221c902d7a9920 (patch) | |
tree | 6d372c74b9d87028295f9a30594f2bac5bf08e9c | |
parent | 5d5dde2ed928677028ef859f48a32a503b01c636 (diff) | |
download | lwn-f15e66b9328c8e2fef4f59f121221c902d7a9920.tar.gz lwn-f15e66b9328c8e2fef4f59f121221c902d7a9920.zip |
[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>
-rw-r--r-- | drivers/mfd/sm501.c | 2 |
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 = { 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) |