aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-10 04:36:34 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-10 04:36:34 -0400
commitac97c62071e469a67e9019998ccef68a5356ed7f (patch)
tree862cac6e7f3f939a1389bee56abd4ebe33aa1c8c /drivers
parentc172708d38a401b2f3f841dfcd862b469fa0b670 (diff)
regulator: Fix build of ab8500
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/regulator/ab8500.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/regulator/ab8500.c b/drivers/regulator/ab8500.c
index 93feadaf40c0..d1563907d3c8 100644
--- a/drivers/regulator/ab8500.c
+++ b/drivers/regulator/ab8500.c
@@ -780,9 +780,9 @@ static __devinit int ab8500_regulator_probe(struct platform_device *pdev)
780 info = &ab8500_regulator_info[i]; 780 info = &ab8500_regulator_info[i];
781 info->dev = &pdev->dev; 781 info->dev = &pdev->dev;
782 782
783 config->dev = &pdev->dev; 783 config.dev = &pdev->dev;
784 config->init_data = &pdata->regulator[i]; 784 config.init_data = &pdata->regulator[i];
785 config->driver_data = info; 785 config.driver_data = info;
786 786
787 /* fix for hardware before ab8500v2.0 */ 787 /* fix for hardware before ab8500v2.0 */
788 if (abx500_get_chip_id(info->dev) < 0x20) { 788 if (abx500_get_chip_id(info->dev) < 0x20) {