diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-04-10 08:36:34 (GMT) |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-04-10 08:36:34 (GMT) |
commit | ac97c62071e469a67e9019998ccef68a5356ed7f (patch) | |
tree | 862cac6e7f3f939a1389bee56abd4ebe33aa1c8c | |
parent | c172708d38a401b2f3f841dfcd862b469fa0b670 (diff) | |
download | linux-ac97c62071e469a67e9019998ccef68a5356ed7f.tar.xz |
regulator: Fix build of ab8500
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r-- | drivers/regulator/ab8500.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/regulator/ab8500.c b/drivers/regulator/ab8500.c index 93feada..d156390 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) { |