diff options
Diffstat (limited to 'arch/arm/mach-omap1/board-h2.c')
-rw-r--r-- | arch/arm/mach-omap1/board-h2.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-omap1/board-h2.c b/arch/arm/mach-omap1/board-h2.c index fd90cafc2e36..65d2acb31498 100644 --- a/arch/arm/mach-omap1/board-h2.c +++ b/arch/arm/mach-omap1/board-h2.c | |||
@@ -318,6 +318,9 @@ static void __init h2_init_smc91x(void) | |||
318 | 318 | ||
319 | static int tps_setup(struct i2c_client *client, void *context) | 319 | static int tps_setup(struct i2c_client *client, void *context) |
320 | { | 320 | { |
321 | if (!IS_BUILTIN(CONFIG_TPS65010)) | ||
322 | return -ENOSYS; | ||
323 | |||
321 | tps65010_config_vregs1(TPS_LDO2_ENABLE | TPS_VLDO2_3_0V | | 324 | tps65010_config_vregs1(TPS_LDO2_ENABLE | TPS_VLDO2_3_0V | |
322 | TPS_LDO1_ENABLE | TPS_VLDO1_3_0V); | 325 | TPS_LDO1_ENABLE | TPS_VLDO1_3_0V); |
323 | 326 | ||