|
@@ -134,7 +134,10 @@ void omap_change_voltscale_method(struct voltagedomain *voltdm,
|
|
int omap_voltage_late_init(void);
|
|
int omap_voltage_late_init(void);
|
|
#else
|
|
#else
|
|
static inline int omap_voltage_register_pmic(struct voltagedomain *voltdm,
|
|
static inline int omap_voltage_register_pmic(struct voltagedomain *voltdm,
|
|
- struct omap_volt_pmic_info *pmic_info) {}
|
|
|
|
|
|
+ struct omap_volt_pmic_info *pmic_info)
|
|
|
|
+{
|
|
|
|
+ return -EINVAL;
|
|
|
|
+}
|
|
static inline void omap_change_voltscale_method(struct voltagedomain *voltdm,
|
|
static inline void omap_change_voltscale_method(struct voltagedomain *voltdm,
|
|
int voltscale_method) {}
|
|
int voltscale_method) {}
|
|
static inline int omap_voltage_late_init(void)
|
|
static inline int omap_voltage_late_init(void)
|