From d454cee86edac49aca7bdc1d2357e69adfe829ee Mon Sep 17 00:00:00 2001 From: Laxman Dewangan Date: Thu, 24 Nov 2011 19:23:46 +0530 Subject: mfd: tps80031: Support sleep configuration through platform data Supporting the sleep configuration through platform data. Rearranging clock initialization to take external power control. Reviewed-on: http://git-master/r/67076 (cherry picked from commit 9da9d369bdbe988b98eec9b63085dfdb26de8237) Change-Id: I40c5a8608522dbc322e148b5d569e8f5a00faa21 Signed-off-by: Laxman Dewangan Reviewed-on: http://git-master/r/67331 --- include/linux/regulator/tps80031-regulator.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/linux/regulator') diff --git a/include/linux/regulator/tps80031-regulator.h b/include/linux/regulator/tps80031-regulator.h index d84a8c48b4f0..1670d147fc3e 100644 --- a/include/linux/regulator/tps80031-regulator.h +++ b/include/linux/regulator/tps80031-regulator.h @@ -70,7 +70,7 @@ enum { * @init_uV: initial micro volts which need to be set. * @init_enable: Enable or do not enable the rails during initialization. * @init_apply: Init parameter applied or not. - * @ext_pwr_ctrl: External power request control. + * @ext_ctrl_flag: External control flag for sleep/power request control. * @flags: Configuration flag to configure the rails. It should be ORed of * above enums. * @delay_us: Delay in microsecond after setting the desired voltage. @@ -81,7 +81,7 @@ struct tps80031_regulator_platform_data { int init_uV; unsigned init_enable:1; unsigned init_apply:1; - unsigned int ext_pwr_ctrl; + unsigned int ext_ctrl_flag; unsigned int flags; int delay_us; }; -- cgit v1.2.3