diff options
Diffstat (limited to 'arch/arm/mach-omap2/pm.h')
-rw-r--r-- | arch/arm/mach-omap2/pm.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/pm.h b/arch/arm/mach-omap2/pm.h index 451b1da..d82694e 100644 --- a/arch/arm/mach-omap2/pm.h +++ b/arch/arm/mach-omap2/pm.h @@ -157,14 +157,23 @@ static inline int omap_pmic_register_data(struct omap_pmic_map *map) #endif extern void omap_pmic_data_init(void); +extern int omap_pmic_update(struct omap_pmic_map *tmp_map, char *name, + u16 old_chip_id, u16 new_chip_id); + #ifdef CONFIG_TWL4030_CORE extern int omap_twl_init(void); extern int omap3_twl_set_sr_bit(bool enable); +extern int omap_twl_pmic_update(char *name, u16 old_chip_id, u16 new_chip_id); #else static inline int omap_twl_init(void) { return -EINVAL; } +static inline int omap_twl_pmic_update(char *name, u16 old_chip_id, + u16 new_chip_id) +{ + return -EINVAL; +} #endif #ifdef CONFIG_OMAP_TPS6236X @@ -172,6 +181,7 @@ extern int omap_tps6236x_board_setup(bool use_62361, int gpio_vsel0, int gpio_vsel1, int pull0, int pull1); extern int omap_tps6236x_init(void); +extern int omap_tps6236x_update(char *name, u16 old_chip_id, u16 new_chip_id); #else static inline int omap_tps6236x_board_setup(bool use_62361, int gpio_vsel0, int gpio_vsel1, int pull0, int pull1) @@ -182,6 +192,11 @@ static inline int omap_tps6236x_init(void) { return -EINVAL; } +static inline nt omap_tps6236x_update(char *name, u16 old_chip_id, + u16 new_chip_id) +{ + return -EINVAL; +} #endif #endif |