diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-04-27 18:21:18 +0100 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2009-06-15 11:18:23 +0100 |
commit | 5a1b22beeff30d870bf2169a37e343e06cb5db3a (patch) | |
tree | eed4c8e52e3eb727dd3860ba9a25b6ebb5422d79 /drivers/regulator/fixed.c | |
parent | 7c314991d7d7ad4edf96e8322bcb30e8452957b7 (diff) | |
download | op-kernel-dev-5a1b22beeff30d870bf2169a37e343e06cb5db3a.zip op-kernel-dev-5a1b22beeff30d870bf2169a37e343e06cb5db3a.tar.gz |
regulator: Move regulator drivers to subsys_initcall()
Regulators need to be available early in init in order to allow them
to be available for consumers when requested. This is generally done
by registering them at subsys_initcall() time but not all regulator
drivers have done that. Convert these drivers to do so in order to
mimimise future support.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'drivers/regulator/fixed.c')
-rw-r--r-- | drivers/regulator/fixed.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/fixed.c b/drivers/regulator/fixed.c index 23d5546..6e0bede 100644 --- a/drivers/regulator/fixed.c +++ b/drivers/regulator/fixed.c @@ -117,7 +117,7 @@ static int __init regulator_fixed_voltage_init(void) { return platform_driver_register(®ulator_fixed_voltage_driver); } -module_init(regulator_fixed_voltage_init); +subsys_initcall(regulator_fixed_voltage_init); static void __exit regulator_fixed_voltage_exit(void) { |