diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2008-12-02 00:50:13 -0500 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2009-01-08 15:10:32 -0500 |
commit | 9f4dab49e5351aead75d20f2d39acd0d6cf5f1c6 (patch) | |
tree | 66ba95256b7dfa413b77372ac9389084b0d88b95 /drivers/Makefile | |
parent | 74f544c1fc0339acf6f66ff438b8543b1f9faf10 (diff) |
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/ | |||
18 | 18 | ||
19 | obj-$(CONFIG_XEN) += xen/ | 19 | obj-$(CONFIG_XEN) += xen/ |
20 | 20 | ||
21 | # regulators early, since some subsystems rely on them to initialize | ||
22 | obj-$(CONFIG_REGULATOR) += regulator/ | ||
23 | |||
21 | # char/ comes before serial/ etc so that the VT console is the boot-time | 24 | # char/ comes before serial/ etc so that the VT console is the boot-time |
22 | # default. | 25 | # default. |
23 | obj-y += char/ | 26 | obj-y += char/ |
@@ -101,5 +104,4 @@ obj-$(CONFIG_PPC_PS3) += ps3/ | |||
101 | obj-$(CONFIG_OF) += of/ | 104 | obj-$(CONFIG_OF) += of/ |
102 | obj-$(CONFIG_SSB) += ssb/ | 105 | obj-$(CONFIG_SSB) += ssb/ |
103 | obj-$(CONFIG_VIRTIO) += virtio/ | 106 | obj-$(CONFIG_VIRTIO) += virtio/ |
104 | obj-$(CONFIG_REGULATOR) += regulator/ | ||
105 | obj-$(CONFIG_STAGING) += staging/ | 107 | obj-$(CONFIG_STAGING) += staging/ |