projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c41839
)
mfd: Fix ab4500 compilation warnings
author
Samuel Ortiz
<sameo@linux.intel.com>
Mon, 12 Oct 2009 15:17:19 +0000
(17:17 +0200)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Sun, 13 Dec 2009 18:20:39 +0000
(19:20 +0100)
When building the driver as a module, module_exit was missing, and
subsys_initcall_sync() is not defined.
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/ab4500-core.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mfd/ab4500-core.c
b/drivers/mfd/ab4500-core.c
index 3ad91f7ee22b60bd224d48d4ab7ed96d71404931..1c44c19e073a10455e971143df832a9e3dd6a0dc 100644
(file)
--- a/
drivers/mfd/ab4500-core.c
+++ b/
drivers/mfd/ab4500-core.c
@@
-200,7
+200,8
@@
static void __exit ab4500_exit(void)
spi_unregister_driver(&ab4500_driver);
}
-subsys_initcall_sync(ab4500_init);
+subsys_initcall(ab4500_init);
+module_exit(ab4500_exit);
MODULE_AUTHOR("Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com");
MODULE_DESCRIPTION("AB4500 core driver");