Commit ac97c620 authored by Mark Brown's avatar Mark Brown

regulator: Fix build of ab8500

Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent c172708d
...@@ -780,9 +780,9 @@ static __devinit int ab8500_regulator_probe(struct platform_device *pdev) ...@@ -780,9 +780,9 @@ static __devinit int ab8500_regulator_probe(struct platform_device *pdev)
info = &ab8500_regulator_info[i]; info = &ab8500_regulator_info[i];
info->dev = &pdev->dev; info->dev = &pdev->dev;
config->dev = &pdev->dev; config.dev = &pdev->dev;
config->init_data = &pdata->regulator[i]; config.init_data = &pdata->regulator[i];
config->driver_data = info; config.driver_data = info;
/* fix for hardware before ab8500v2.0 */ /* fix for hardware before ab8500v2.0 */
if (abx500_get_chip_id(info->dev) < 0x20) { if (abx500_get_chip_id(info->dev) < 0x20) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment