change tps65910 regulator init level to rootfs_initcall, higher than device_init...
authorcwz <cwz@rockchips.com>
Wed, 20 Apr 2011 02:47:04 +0000 (19:47 -0700)
committercwz <cwz@rockchips.com>
Wed, 20 Apr 2011 02:47:04 +0000 (19:47 -0700)
drivers/regulator/tps65910-regulator.c

index faa194c4783f397ef69d64926998bb96b64718dc..c1cc774489ddf044447d73ff0557ac5ac1938847 100644 (file)
@@ -754,7 +754,7 @@ static int __init tps65910_regulator_init(void)
 {
        return platform_driver_register(&tps65910_regulator_driver);
 }
-module_init(tps65910_regulator_init);
+rootfs_initcall(tps65910_regulator_init);
 
 static void __exit tps65910_regulator_exit(void)
 {