diff options
author | Luca Ceresoli <luca@lucaceresoli.net> | 2021-02-19 23:39:10 +0100 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2021-05-19 13:34:00 +0100 |
commit | 5258f7eed42f4565d065726fd82d3430dd618a68 (patch) | |
tree | 36d65b531c66ffb7d54ee56a359bfaa054b19262 /drivers | |
parent | c06a40e9513d246bdeacd290f2357bb99251dc9a (diff) | |
download | linux-5258f7eed42f4565d065726fd82d3430dd618a68.tar.bz2 |
mfd: lp87565: Move LP87565_regulator_id to .c file
This enum is used only internally to the regulator driver for buck indexes.
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/regulator/lp87565-regulator.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/regulator/lp87565-regulator.c b/drivers/regulator/lp87565-regulator.c index eeab9d3c824b..d059ae85047a 100644 --- a/drivers/regulator/lp87565-regulator.c +++ b/drivers/regulator/lp87565-regulator.c @@ -11,6 +11,17 @@ #include <linux/mfd/lp87565.h> +enum LP87565_regulator_id { + /* BUCK's */ + LP87565_BUCK_0, + LP87565_BUCK_1, + LP87565_BUCK_2, + LP87565_BUCK_3, + LP87565_BUCK_10, + LP87565_BUCK_23, + LP87565_BUCK_3210, +}; + #define LP87565_REGULATOR(_name, _id, _of, _ops, _n, _vr, _vm, \ _er, _em, _ev, _delay, _lr, _cr) \ [_id] = { \ |