diff options
author | Dan Willemsen <dwillemsen@nvidia.com> | 2011-12-01 14:56:47 -0800 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-02-15 16:50:52 -0800 |
commit | d8d1a1ba8b469b1d177015ab2fe87a97a5af1c73 (patch) | |
tree | e05922bfd963530dd993794927685ba1514abcbc /include | |
parent | 831adda2f1fbf885212a975a39990135473f7143 (diff) |
mfd: tps80031: Natively register pm_power_off
Instead of forcing the board files to register this themselves, just add
a bool to the platform data to let the board files opt into this.
Change-Id: Ia545f23b95f9727932aaf3f3b64a109dae0f2448
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
Reviewed-on: http://git-master/r/83592
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mfd/tps80031.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/mfd/tps80031.h b/include/linux/mfd/tps80031.h index c6aa7eadbedd..1802dfefef05 100644 --- a/include/linux/mfd/tps80031.h +++ b/include/linux/mfd/tps80031.h @@ -164,6 +164,7 @@ struct tps80031_platform_data { int gpio_init_data_size; struct tps80031_clk32k_init_data *clk32k_init_data; int clk32k_init_data_size; + bool use_power_off; }; struct tps80031_bg_platform_data { @@ -193,8 +194,6 @@ extern int tps80031_ext_power_req_config(struct device *dev, unsigned long ext_ctrl_flag, int preq_bit, int state_reg_add, int trans_reg_add); -extern int tps80031_power_off(void); - extern unsigned long tps80031_get_chip_info(struct device *dev); extern int tps80031_gpadc_conversion(int channle_no); |