From d9b961a08ca88964276824fba2916154b0e7a0ca Mon Sep 17 00:00:00 2001 From: Laxman Dewangan Date: Wed, 1 Aug 2012 14:21:19 +0530 Subject: regulator: tps80031: make regualtor_init_data as pointer type The platform data of tps80031 have the regualtor_init_data as non-pointer type. Converting this as pointer type for aligning to regulator driver policy and easy support for DT. Change-Id: I07f574953b09e0ed9ec3735d0ee7999ca35bee61 Reviewed-on: http://git-master/r/119974 Reviewed-by: Simone Willett Tested-by: Simone Willett --- include/linux/regulator/tps80031-regulator.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/linux/regulator/tps80031-regulator.h b/include/linux/regulator/tps80031-regulator.h index 1609eeee6763..4058f7cfa27a 100644 --- a/include/linux/regulator/tps80031-regulator.h +++ b/include/linux/regulator/tps80031-regulator.h @@ -66,7 +66,7 @@ enum { /* * struct tps80031_regulator_platform_data - tps80031 regulator platform data. * - * @regulator: The regulator init data. + * @reg_init_data: The regulator init data. * @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. @@ -80,7 +80,7 @@ enum { */ struct tps80031_regulator_platform_data { - struct regulator_init_data regulator; + struct regulator_init_data *reg_init_data; int init_uV; unsigned init_enable:1; unsigned init_apply:1; -- cgit v1.2.3