diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2009-10-12 11:17:19 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2009-12-13 13:20:39 -0500 |
commit | 956266da703e3885924fe21bfc20f32d8f875474 (patch) | |
tree | 03b4803baf4be08fba6221c2dd203e31ee44a879 /drivers/mfd | |
parent | 0c41839e98272a317d4af4dfcb54b599b2c3dcba (diff) |
mfd: Fix ab4500 compilation warnings
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>
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/ab4500-core.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mfd/ab4500-core.c b/drivers/mfd/ab4500-core.c index 3ad91f7ee22b..1c44c19e073a 100644 --- a/drivers/mfd/ab4500-core.c +++ b/drivers/mfd/ab4500-core.c | |||
@@ -200,7 +200,8 @@ static void __exit ab4500_exit(void) | |||
200 | spi_unregister_driver(&ab4500_driver); | 200 | spi_unregister_driver(&ab4500_driver); |
201 | } | 201 | } |
202 | 202 | ||
203 | subsys_initcall_sync(ab4500_init); | 203 | subsys_initcall(ab4500_init); |
204 | module_exit(ab4500_exit); | ||
204 | 205 | ||
205 | MODULE_AUTHOR("Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com"); | 206 | MODULE_AUTHOR("Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com"); |
206 | MODULE_DESCRIPTION("AB4500 core driver"); | 207 | MODULE_DESCRIPTION("AB4500 core driver"); |