aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/regulator/ab8500.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/include/linux/regulator/ab8500.h b/include/linux/regulator/ab8500.h
index 2c6c9625013c..a1d245f13d9c 100644
--- a/include/linux/regulator/ab8500.h
+++ b/include/linux/regulator/ab8500.h
@@ -48,13 +48,15 @@ enum ab9540_regulator_id {
48/* AB8500 and AB9540 register initialization */ 48/* AB8500 and AB9540 register initialization */
49struct ab8500_regulator_reg_init { 49struct ab8500_regulator_reg_init {
50 int id; 50 int id;
51 u8 mask;
51 u8 value; 52 u8 value;
52}; 53};
53 54
54#define INIT_REGULATOR_REGISTER(_id, _value) \ 55#define INIT_REGULATOR_REGISTER(_id, _mask, _value) \
55 { \ 56 { \
56 .id = _id, \ 57 .id = _id, \
57 .value = _value, \ 58 .mask = _mask, \
59 .value = _value, \
58 } 60 }
59 61
60/* AB8500 registers */ 62/* AB8500 registers */