lkml.org 
[lkml]   [2010]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] regulator: Move lp3971 regulator driver to subsys_initcall()
From
Date
Regulators need to be available early in init in order to allow them
to be available for consumers when requested.

Other regulator drivers are already moved to subsys_initcall(),
looks like only lp3971 is missing.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
drivers/regulator/lp3971.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/regulator/lp3971.c b/drivers/regulator/lp3971.c
index 0f22ef1..40520d9 100644
--- a/drivers/regulator/lp3971.c
+++ b/drivers/regulator/lp3971.c
@@ -554,7 +554,7 @@ static int __init lp3971_module_init(void)

return ret;
}
-module_init(lp3971_module_init);
+subsys_initcall(lp3971_module_init);

static void __exit lp3971_module_exit(void)
{
--
1.7.2




\
 
 \ /
  Last update: 2010-11-17 03:59    [W:0.238 / U:0.576 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site