mirror of
https://github.com/torvalds/linux.git
synced 2024-11-30 16:11:38 +00:00
regulator: Fix build of ab8500
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
c172708d38
commit
ac97c62071
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user