projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d5dde2
)
[PATCH] drivers/mfd/sm501.c: Replace pci_module_init with pci_register_driver
author
Richard Knutsson
<ricknu-0@student.ltu.se>
Sat, 24 Feb 2007 10:46:06 +0000
(11:46 +0100)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Mon, 26 Feb 2007 20:35:47 +0000
(12:35 -0800)
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>
drivers/mfd/sm501.c
patch
|
blob
|
history
diff --git
a/drivers/mfd/sm501.c
b/drivers/mfd/sm501.c
index 5c5a1e2dda8a28ae425518649c8bf9bbce1ae291..c707c8ebc1a25be72e16938feeb76f172331d55a 100644
(file)
--- 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)