regulator: init/link earlier
authorDavid Brownell <dbrownell@users.sourceforge.net>
Tue, 2 Dec 2008 05:50:13 +0000 (21:50 -0800)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Thu, 8 Jan 2009 20:10:32 +0000 (20:10 +0000)
commit9f4dab49e5351aead75d20f2d39acd0d6cf5f1c6
tree66ba95256b7dfa413b77372ac9389084b0d88b95
parent74f544c1fc0339acf6f66ff438b8543b1f9faf10
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>
drivers/Makefile