]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: move bq24022 init back to module_init instead of subsys_initcall
authorPhilipp Zabel <philipp.zabel@gmail.com>
Sun, 18 Jan 2009 13:32:27 +0000 (14:32 +0100)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Fri, 30 Jan 2009 21:50:49 +0000 (21:50 +0000)
commit64a4f36866cfa7b9333f6a34ffbce027131e66e8
tree59d6093f555b3fca979662ea68e62a8bbb9c3d4a
parent0b5dfea864c00c2f33b54b92ec3eebdfbe69249f
regulator: move bq24022 init back to module_init instead of subsys_initcall

This workaround was needed when regulator/ was not linked before both
power/ and usb/otg/ in drivers/Makefile. Now that it is even linked
before mfd/, this patch makes sure that bq24022 isn't probed before the
GPIO expander is set up.

Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/regulator/bq24022.c