aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/mach-omap2/board-espresso-sensors.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-espresso-sensors.c b/arch/arm/mach-omap2/board-espresso-sensors.c
index 9d90afa..2cd36ce 100644
--- a/arch/arm/mach-omap2/board-espresso-sensors.c
+++ b/arch/arm/mach-omap2/board-espresso-sensors.c
@@ -69,6 +69,11 @@ static int gp2a_light_adc_value(void)
return twl6030_get_gpadc_conversion(GP2A_LIGHT_ADC_CHANNEL);
}
+static void gp2a_power(bool on)
+{
+
+}
+
static void omap4_espresso_sensors_regulator_on(bool on)
{
struct regulator *reg_v28;
@@ -103,6 +108,7 @@ static void omap4_espresso_sensors_regulator_on(bool on)
}
static struct gp2a_platform_data gp2a_pdata = {
+ .power = gp2a_power,
.p_out = GPIO_PS_VOUT,
.light_adc_value = gp2a_light_adc_value,
.ldo_on = omap4_espresso_sensors_regulator_on,