diff options
| author | Axel Lin <axel.lin@gmail.com> | 2012-02-16 22:23:49 -0500 |
|---|---|---|
| committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-02-17 16:42:49 -0500 |
| commit | 0e2576ceffd4b5362023b765b11ed647c06ffc2d (patch) | |
| tree | f439aa537e548b14a4d2e41c0bc85a9c76664d10 | |
| parent | 1b65fa8496059d919a16b8431672d11e199ae515 (diff) | |
ARM: U300: Don't specify regulator consumers by struct device
The dev field is remove from struct regulator_consumer_supply since commit
737f36 "regulator: Remove support for supplies specified by struct device".
This fixes below build error:
CC arch/arm/mach-u300/i2c.o
arch/arm/mach-u300/i2c.c:63: error: unknown field 'dev' specified in initializer
arch/arm/mach-u300/i2c.c:95: error: unknown field 'dev' specified in initializer
make[1]: *** [arch/arm/mach-u300/i2c.o] Error 1
make: *** [arch/arm/mach-u300] Error 2
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
| -rw-r--r-- | arch/arm/mach-u300/i2c.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-u300/i2c.c b/arch/arm/mach-u300/i2c.c index 5140deeddf7b..a38f80238ea9 100644 --- a/arch/arm/mach-u300/i2c.c +++ b/arch/arm/mach-u300/i2c.c | |||
| @@ -60,7 +60,6 @@ static struct regulator_consumer_supply supply_ldo_c[] = { | |||
| 60 | */ | 60 | */ |
| 61 | static struct regulator_consumer_supply supply_ldo_d[] = { | 61 | static struct regulator_consumer_supply supply_ldo_d[] = { |
| 62 | { | 62 | { |
| 63 | .dev = NULL, | ||
| 64 | .supply = "vana15", /* Powers the SoC (CPU etc) */ | 63 | .supply = "vana15", /* Powers the SoC (CPU etc) */ |
| 65 | }, | 64 | }, |
| 66 | }; | 65 | }; |
| @@ -92,7 +91,6 @@ static struct regulator_consumer_supply supply_ldo_k[] = { | |||
| 92 | */ | 91 | */ |
| 93 | static struct regulator_consumer_supply supply_ldo_ext[] = { | 92 | static struct regulator_consumer_supply supply_ldo_ext[] = { |
| 94 | { | 93 | { |
| 95 | .dev = NULL, | ||
| 96 | .supply = "vext", /* External power */ | 94 | .supply = "vext", /* External power */ |
| 97 | }, | 95 | }, |
| 98 | }; | 96 | }; |
