From: Mark Brown Date: Tue, 10 Apr 2012 08:36:34 +0000 (+0100) Subject: regulator: Fix build of ab8500 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ac97c62071e469a67e9019998ccef68a5356ed7f;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git regulator: Fix build of ab8500 Reported-by: Stephen Rothwell Signed-off-by: Mark Brown --- 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) 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) {