diff options
author | Haojian Zhuang <haojian.zhuang@gmail.com> | 2012-03-29 20:53:27 -0400 |
---|---|---|
committer | Haojian Zhuang <haojian.zhuang@gmail.com> | 2012-03-29 21:03:06 -0400 |
commit | e9478587c4fb43059f45acf25ee0959710280bdf (patch) | |
tree | f84e2160d76f0a4e90eeab47a6f2e146f38d465f /arch/arm | |
parent | 804d2312309aaf8b80a09038cf12333f0cb4f32c (diff) |
ARM: pxa: fix build issue on cm-x300
arch/arm/mach-pxa/cm-x300.c:716:3: error: unknown field ‘dev’ specified
in initializer
make[1]: *** [arch/arm/mach-pxa/cm-x300.o] Error 1
make: *** [arch/arm/mach-pxa] Error 2
It's caused by 'dev' field removed from struct
regulator_consumer_supply.
Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-pxa/cm-x300.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-pxa/cm-x300.c b/arch/arm/mach-pxa/cm-x300.c index 4b981b82d2a5..56a5cc13ea02 100644 --- a/arch/arm/mach-pxa/cm-x300.c +++ b/arch/arm/mach-pxa/cm-x300.c | |||
@@ -713,7 +713,6 @@ struct da9030_battery_info cm_x300_battery_info = { | |||
713 | 713 | ||
714 | static struct regulator_consumer_supply buck2_consumers[] = { | 714 | static struct regulator_consumer_supply buck2_consumers[] = { |
715 | { | 715 | { |
716 | .dev = NULL, | ||
717 | .supply = "vcc_core", | 716 | .supply = "vcc_core", |
718 | }, | 717 | }, |
719 | }; | 718 | }; |