diff options
Diffstat (limited to 'arch/arm/plat-omap/include')
-rw-r--r-- | arch/arm/plat-omap/include/plat/voltage.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/include/plat/voltage.h b/arch/arm/plat-omap/include/plat/voltage.h index 0ff123399f3b..9943c667f8e1 100644 --- a/arch/arm/plat-omap/include/plat/voltage.h +++ b/arch/arm/plat-omap/include/plat/voltage.h | |||
@@ -134,7 +134,10 @@ void omap_change_voltscale_method(struct voltagedomain *voltdm, | |||
134 | int omap_voltage_late_init(void); | 134 | int omap_voltage_late_init(void); |
135 | #else | 135 | #else |
136 | static inline int omap_voltage_register_pmic(struct voltagedomain *voltdm, | 136 | static inline int omap_voltage_register_pmic(struct voltagedomain *voltdm, |
137 | struct omap_volt_pmic_info *pmic_info) {} | 137 | struct omap_volt_pmic_info *pmic_info) |
138 | { | ||
139 | return -EINVAL; | ||
140 | } | ||
138 | static inline void omap_change_voltscale_method(struct voltagedomain *voltdm, | 141 | static inline void omap_change_voltscale_method(struct voltagedomain *voltdm, |
139 | int voltscale_method) {} | 142 | int voltscale_method) {} |
140 | static inline int omap_voltage_late_init(void) | 143 | static inline int omap_voltage_late_init(void) |