diff options
author | Axel Lin <axel.lin@gmail.com> | 2012-04-10 01:49:24 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-04-10 04:52:53 -0400 |
commit | fe53d18def245f11fe501d403dd08639927c16f3 (patch) | |
tree | 8119bbda6cf2000a9150b7a91389a9577e819de7 | |
parent | ac97c62071e469a67e9019998ccef68a5356ed7f (diff) |
regulator: Fix a typo in da903x.c
Fix below build errors which is introduced by commit c172708
"regulator: core: Use a struct to pass in regulator runtime configuration".
CC drivers/regulator/da903x.o
drivers/regulator/da903x.c: In function 'da903x_regulator_probe':
drivers/regulator/da903x.c:541: error: 'conifg' undeclared (first use in this function)
drivers/regulator/da903x.c:541: error: (Each undeclared identifier is reported only once
drivers/regulator/da903x.c:541: error: for each function it appears in.)
make[2]: *** [drivers/regulator/da903x.o] Error 1
make[1]: *** [drivers/regulator] Error 2
make: *** [drivers] Error 2
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r-- | drivers/regulator/da903x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/da903x.c b/drivers/regulator/da903x.c index 4630b1ee9966..682bdb391abd 100644 --- a/drivers/regulator/da903x.c +++ b/drivers/regulator/da903x.c | |||
@@ -538,7 +538,7 @@ static int __devinit da903x_regulator_probe(struct platform_device *pdev) | |||
538 | ri->desc.ops = &da9030_regulator_ldo1_15_ops; | 538 | ri->desc.ops = &da9030_regulator_ldo1_15_ops; |
539 | 539 | ||
540 | config.dev = &pdev->dev; | 540 | config.dev = &pdev->dev; |
541 | conifg.init_data = pdev->dev.platform_data; | 541 | config.init_data = pdev->dev.platform_data; |
542 | config.driver_data = ri; | 542 | config.driver_data = ri; |
543 | 543 | ||
544 | rdev = regulator_register(&ri->desc, &config); | 544 | rdev = regulator_register(&ri->desc, &config); |