diff options
Diffstat (limited to 'include/linux/mfd/tps6586x.h')
-rw-r--r-- | include/linux/mfd/tps6586x.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/mfd/tps6586x.h b/include/linux/mfd/tps6586x.h index 2dd12319495..87994542573 100644 --- a/include/linux/mfd/tps6586x.h +++ b/include/linux/mfd/tps6586x.h | |||
@@ -29,6 +29,7 @@ enum { | |||
29 | TPS6586X_ID_LDO_8, | 29 | TPS6586X_ID_LDO_8, |
30 | TPS6586X_ID_LDO_9, | 30 | TPS6586X_ID_LDO_9, |
31 | TPS6586X_ID_LDO_RTC, | 31 | TPS6586X_ID_LDO_RTC, |
32 | TPS6586X_ID_MAX_REGULATOR, | ||
32 | }; | 33 | }; |
33 | 34 | ||
34 | enum { | 35 | enum { |
@@ -79,6 +80,8 @@ struct tps6586x_platform_data { | |||
79 | int gpio_base; | 80 | int gpio_base; |
80 | int irq_base; | 81 | int irq_base; |
81 | bool pm_off; | 82 | bool pm_off; |
83 | |||
84 | struct regulator_init_data *reg_init_data[TPS6586X_ID_MAX_REGULATOR]; | ||
82 | }; | 85 | }; |
83 | 86 | ||
84 | /* | 87 | /* |
@@ -93,5 +96,6 @@ extern int tps6586x_set_bits(struct device *dev, int reg, uint8_t bit_mask); | |||
93 | extern int tps6586x_clr_bits(struct device *dev, int reg, uint8_t bit_mask); | 96 | extern int tps6586x_clr_bits(struct device *dev, int reg, uint8_t bit_mask); |
94 | extern int tps6586x_update(struct device *dev, int reg, uint8_t val, | 97 | extern int tps6586x_update(struct device *dev, int reg, uint8_t val, |
95 | uint8_t mask); | 98 | uint8_t mask); |
99 | extern int tps6586x_irq_get_virq(struct device *dev, int irq); | ||
96 | 100 | ||
97 | #endif /*__LINUX_MFD_TPS6586X_H */ | 101 | #endif /*__LINUX_MFD_TPS6586X_H */ |