From d8d1a1ba8b469b1d177015ab2fe87a97a5af1c73 Mon Sep 17 00:00:00 2001 From: Dan Willemsen Date: Thu, 1 Dec 2011 14:56:47 -0800 Subject: 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 Reviewed-on: http://git-master/r/83592 Reviewed-by: Varun Wadekar --- include/linux/mfd/tps80031.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include/linux/mfd') 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); -- cgit v1.2.3