diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2008-12-01 21:50:13 -0800 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2009-01-08 20:10:32 +0000 |
commit | 9f4dab49e5351aead75d20f2d39acd0d6cf5f1c6 (patch) | |
tree | 66ba95256b7dfa413b77372ac9389084b0d88b95 /drivers/Makefile | |
parent | 74f544c1fc0339acf6f66ff438b8543b1f9faf10 (diff) | |
download | linux-stable-9f4dab49e5351aead75d20f2d39acd0d6cf5f1c6.tar.gz linux-stable-9f4dab49e5351aead75d20f2d39acd0d6cf5f1c6.tar.bz2 linux-stable-9f4dab49e5351aead75d20f2d39acd0d6cf5f1c6.zip |
regulator: init/link earlier
Move regulator earlier in link sequence.
The regulator core currently initializes as a core_initcall() to be
available early ... but then it links way late, throwing away that
benefit, so regulators available at e.g. subsys_initcall() are not
available to subsystems which need to use them.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'drivers/Makefile')
-rw-r--r-- | drivers/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/Makefile b/drivers/Makefile index e121b66ef082..6326f4dbbdab 100644 --- a/drivers/Makefile +++ b/drivers/Makefile @@ -18,6 +18,9 @@ obj-$(CONFIG_ARM_AMBA) += amba/ obj-$(CONFIG_XEN) += xen/ +# regulators early, since some subsystems rely on them to initialize +obj-$(CONFIG_REGULATOR) += regulator/ + # char/ comes before serial/ etc so that the VT console is the boot-time # default. obj-y += char/ @@ -101,5 +104,4 @@ obj-$(CONFIG_PPC_PS3) += ps3/ obj-$(CONFIG_OF) += of/ obj-$(CONFIG_SSB) += ssb/ obj-$(CONFIG_VIRTIO) += virtio/ -obj-$(CONFIG_REGULATOR) += regulator/ obj-$(CONFIG_STAGING) += staging/ |