ARM: mach-shmobile: select the fixed regulator driver on several boards
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Thu, 5 Jul 2012 13:17:42 +0000 (15:17 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Fri, 6 Jul 2012 18:24:23 +0000 (20:24 +0200)
commit34767f8dccc326026f97cd63f759dd36bd83502d
treeba3f81da42e7cdc08159460618e05b59eaeabcfd
parent21503a86db5015b74cceb54c41ed8862107ddaec
ARM: mach-shmobile: 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>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
arch/arm/mach-shmobile/Kconfig