sh: select the fixed regulator driver on several boards
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Thu, 5 Jul 2012 13:18:50 +0000 (15:18 +0200)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 6 Jul 2012 07:25:25 +0000 (16:25 +0900)
commit89d71486b293565aa345e1b722647cb29ade465c
tree3df56a810538efaa3bac98a318ae7bac8be40953
parentd4c191dfb9190880644c1542a21c9deda5c76151
sh: select the fixed regulator driver on several boards

On systems, using regulators to supply power to devices, if the REGULATOR
Kconfig option is disabled, regulator API stubs will be used, which often
suffices to bring a default configuration up. If REGULATOR is enabled but
respective regulator drivers are inactive, the real regulator API calls
will be used, which in the absence of drivers will fail to provide
services. This patch prevents such a problem on sh-mobile boards by
forcing REGULATOR_FIXED_VOLTAGE on if REGULATOR is selected.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/boards/Kconfig