regulator: add missing defintion regulator_is_supported_voltage
authorPhilip Rakity <prakity@marvell.com>
Sat, 30 Jun 2012 23:05:36 +0000 (16:05 -0700)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 1 Jul 2012 18:10:19 +0000 (19:10 +0100)
commit4fe23791a4052ad4c8ba79dab9ff5febc8095714
treeb262d09e4f93adbd7196aa5987f5fde1a17691b1
parentbf2516cd020dbf80ed2f1750ac1f4b0da3549c91
regulator: add missing defintion regulator_is_supported_voltage

This definition is missing when CONFIG_REGULATOR is not defined.
This causes compiler errors when compiling sdhci.c.  This can
be worked around by adding #ifdef CONFIG_REGULATOR .. #endif
but since other definitions are there we have defined the missing
definition

Signed-off-by: Philip Rakity <prakity@marvell.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
include/linux/regulator/consumer.h