summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/ab8500.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-10 09:36:34 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-10 09:36:34 +0100
commitac97c62071e469a67e9019998ccef68a5356ed7f (patch)
tree862cac6e7f3f939a1389bee56abd4ebe33aa1c8c /drivers/regulator/ab8500.c
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/regulator/ab8500.c')
-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 93feadaf40c..d1563907d3c 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)
info = &ab8500_regulator_info[i];
info->dev = &pdev->dev;
- config->dev = &pdev->dev;
- config->init_data = &pdata->regulator[i];
- config->driver_data = info;
+ config.dev = &pdev->dev;
+ config.init_data = &pdata->regulator[i];
+ config.driver_data = info;
/* fix for hardware before ab8500v2.0 */
if (abx500_get_chip_id(info->dev) < 0x20) {