diff options
author | Keerthy <j-keerthy@ti.com> | 2014-06-18 15:28:57 +0530 |
---|---|---|
committer | Rajendra Nayak <rnayak@ti.com> | 2014-06-25 14:58:43 +0530 |
commit | 71357dddcee7e84b7296cced1d9d13c9f709ece5 (patch) | |
tree | 6a6ede006e9a8baf7519777d8f29478617abadee /include | |
parent | d13653ade5cc70483de7e091e7d243b41fbfa628 (diff) |
mfd: palmas: shift the palmas_sleep_requestor_info structure definition to the header file
shift the palmas_sleep_requestor_info structure definition to the header file.
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Keerthy <j-keerthy@ti.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mfd/palmas.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/mfd/palmas.h b/include/linux/mfd/palmas.h index 150a6314130..8d684524977 100644 --- a/include/linux/mfd/palmas.h +++ b/include/linux/mfd/palmas.h @@ -88,6 +88,16 @@ struct palmas { u8 pwm_muxed; }; +#define PALMAS_EXT_REQ (PALMAS_EXT_CONTROL_ENABLE1 | \ + PALMAS_EXT_CONTROL_ENABLE2 | \ + PALMAS_EXT_CONTROL_NSLEEP) + +struct palmas_sleep_requestor_info { + int id; + int reg_offset; + int bit_pos; +}; + struct regs_info { char *name; char *sname; |