ARM: pxa: fix regulator related build fail in magician_defconfig
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Tue, 6 Mar 2012 19:46:43 +0000 (14:46 -0500)
committerHaojian Zhuang <haojian.zhuang@gmail.com>
Wed, 28 Mar 2012 13:42:53 +0000 (21:42 +0800)
commit3a5691326ed3d6a276b4a8663a9190bf73f5de2b
treefb8a0a1560c6ed53c3be9f2dd87f93ea13792666
parentc16fa4f2ad19908a47c63d8fa436a1178438c7e7
ARM: pxa: fix regulator related build fail in magician_defconfig

commit 737f360d5bef5e01c6cfa755dca0b449a154c1e0 (linux-next)

  "regulator: Remove support for supplies specified by struct device"

deletes the field from the struct, but this platform was still trying
to set those fields.  Delete the assignments.

arch/arm/mach-pxa/magician.c:581: error: unknown field 'dev' specified in initializer
arch/arm/mach-pxa/magician.c:581: warning: initialization from incompatible pointer type
arch/arm/mach-pxa/magician.c:585: error: unknown field 'dev' specified in initializer
arch/arm/mach-pxa/magician.c:585: warning: initialization from incompatible pointer type

arch/arm/mach-pxa/hx4700.c:683: error: unknown field 'dev' specified in initializer
arch/arm/mach-pxa/hx4700.c:683: warning: initialization from incompatible pointer type
arch/arm/mach-pxa/hx4700.c:687: error: unknown field 'dev' specified in initializer
arch/arm/mach-pxa/hx4700.c:687: warning: initialization from incompatible pointer type

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
arch/arm/mach-pxa/hx4700.c
arch/arm/mach-pxa/magician.c