فهرست منبع

regulator: make sure the regulator is available prior to the consumers.

Some systems are likely to want this to be subsys_initcall() to
make sure the regulator is available prior to the consumers.

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Sonic Zhang 15 سال پیش
والد
کامیت
839b8362a7
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      drivers/regulator/ad5398.c

+ 1 - 1
drivers/regulator/ad5398.c

@@ -274,7 +274,7 @@ static int __init ad5398_init(void)
 {
 {
 	return i2c_add_driver(&ad5398_driver);
 	return i2c_add_driver(&ad5398_driver);
 }
 }
-module_init(ad5398_init);
+subsys_initcall(ad5398_init);
 
 
 static void __exit ad5398_exit(void)
 static void __exit ad5398_exit(void)
 {
 {