ARM: pxa: fix build issue on stargate2
authorHaojian Zhuang <haojian.zhuang@gmail.com>
Fri, 30 Mar 2012 01:00:50 +0000 (09:00 +0800)
committerHaojian Zhuang <haojian.zhuang@gmail.com>
Fri, 30 Mar 2012 01:03:20 +0000 (09:03 +0800)
commit5616131daff6047d293b25a05cff7b1890efd6a3
tree270fdfed5331255fbdfd177434835b4f6b1d663d
parente9478587c4fb43059f45acf25ee0959710280bdf
ARM: pxa: fix build issue on stargate2

arch/arm/mach-pxa/stargate2.c:155:3: error: unknown field ‘dev’
specified in initializer
arch/arm/mach-pxa/stargate2.c:155:3: warning: initialization from
incompatible pointer type [enabled by default]
arch/arm/mach-pxa/stargate2.c:155:3: warning: (near initialization for
‘stargate2_sensor_3_con[0].dev_name’) [enabled by default]
make[1]: *** [arch/arm/mach-pxa/stargate2.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>
arch/arm/mach-pxa/stargate2.c