diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/i2c/twl.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/include/linux/i2c/twl.h b/include/linux/i2c/twl.h index 7897f3096560..9733e9e53f2b 100644 --- a/include/linux/i2c/twl.h +++ b/include/linux/i2c/twl.h | |||
@@ -605,12 +605,7 @@ int twl4030_sih_setup(int module); | |||
605 | #define TWL4030_VAUX3_DEV_GRP 0x1F | 605 | #define TWL4030_VAUX3_DEV_GRP 0x1F |
606 | #define TWL4030_VAUX3_DEDICATED 0x22 | 606 | #define TWL4030_VAUX3_DEDICATED 0x22 |
607 | 607 | ||
608 | #if defined(CONFIG_TWL4030_BCI_BATTERY) || \ | 608 | static inline int twl4030charger_usb_en(int enable) { return 0; } |
609 | defined(CONFIG_TWL4030_BCI_BATTERY_MODULE) | ||
610 | extern int twl4030charger_usb_en(int enable); | ||
611 | #else | ||
612 | static inline int twl4030charger_usb_en(int enable) { return 0; } | ||
613 | #endif | ||
614 | 609 | ||
615 | /*----------------------------------------------------------------------*/ | 610 | /*----------------------------------------------------------------------*/ |
616 | 611 | ||