Skip to content

Commit

Permalink
ARM: pxa: fix build issue on cm-x300
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Haojian Zhuang committed Mar 30, 2012
1 parent 804d231 commit e947858
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion arch/arm/mach-pxa/cm-x300.c
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,6 @@ struct da9030_battery_info cm_x300_battery_info = {

static struct regulator_consumer_supply buck2_consumers[] = {
{
.dev = NULL,
.supply = "vcc_core",
},
};
Expand Down

0 comments on commit e947858

Please sign in to comment.