[ARM] 5088/3: pxa2xx: add pxa2xx_set_spi_info to register pxa2xx-spi platform devices
authorGuennadi Liakhovetski <lg@denx.de>
Fri, 13 Jun 2008 08:17:31 +0000 (09:17 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 9 Jul 2008 20:31:52 +0000 (21:31 +0100)
commite172274ccc55d20536fbdceb6131f38e288541e0
treee3b0424d9c6d7e74608c29c91d94d94f6ab36706
parentcabb352a6455c3550f157909196845f533b0f374
[ARM] 5088/3: pxa2xx: add pxa2xx_set_spi_info to register pxa2xx-spi platform devices

Add a function to dynamically allocate and register pxa2xx-spi platform
devices, to be used by PXA2xx and PXA3xx based systems. Switch pcm027 and
lubbock to use it.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@pengutronix.de>
Acked-by: Eric Miao <eric.miao@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-pxa/Kconfig
arch/arm/mach-pxa/devices.c
arch/arm/mach-pxa/lubbock.c
arch/arm/mach-pxa/pcm027.c
include/asm-arm/arch-pxa/pxa2xx_spi.h