diff options
| author | Keerthy <j-keerthy@ti.com> | 2014-06-18 05:58:56 -0400 |
|---|---|---|
| committer | Mark Brown <broonie@linaro.org> | 2014-06-23 07:30:56 -0400 |
| commit | 9f057dc1d01383e6975e515ba8e661d2aeb6bdfc (patch) | |
| tree | 3b29f05c3e3724fa99207bebeee28d71f35b29a0 /include/linux | |
| parent | 1c113d83bb041ba544ea5054cf84ada93152b0d1 (diff) | |
regulator: palmas: Shift the reg_info structure definition to the header file
Shift the reg_info structure definition to the header file.
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mfd/palmas.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/mfd/palmas.h b/include/linux/mfd/palmas.h index f760a07ab76e..c123666c70f7 100644 --- a/include/linux/mfd/palmas.h +++ b/include/linux/mfd/palmas.h | |||
| @@ -88,6 +88,15 @@ struct palmas { | |||
| 88 | u8 pwm_muxed; | 88 | u8 pwm_muxed; |
| 89 | }; | 89 | }; |
| 90 | 90 | ||
| 91 | struct regs_info { | ||
| 92 | char *name; | ||
| 93 | char *sname; | ||
| 94 | u8 vsel_addr; | ||
| 95 | u8 ctrl_addr; | ||
| 96 | u8 tstep_addr; | ||
| 97 | int sleep_id; | ||
| 98 | }; | ||
| 99 | |||
| 91 | struct palmas_gpadc_platform_data { | 100 | struct palmas_gpadc_platform_data { |
| 92 | /* Channel 3 current source is only enabled during conversion */ | 101 | /* Channel 3 current source is only enabled during conversion */ |
| 93 | int ch3_current; | 102 | int ch3_current; |
