[ARM] 5185/1: Fix spi num_chipselect for lubbock
authorJonathan Cameron <jic23@cam.ac.uk>
Mon, 4 Aug 2008 13:41:27 +0000 (14:41 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 7 Aug 2008 09:25:11 +0000 (10:25 +0100)
Change num_chipselect for lubbock ssp master to reflect requirement
of spi subsystem that all buses have at least 1 chip select.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Acked-by: Eric Miao <eric.miao@marvell.com>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-pxa/lubbock.c

index 4ba8d31907213cdf16361fdf42b7a8fc178d3d7b..bb9e09208b9f48057713608a8a62df476ecbd1ef 100644 (file)
@@ -224,7 +224,7 @@ static struct platform_device sa1111_device = {
  * for the temperature sensors.
  */
 static struct pxa2xx_spi_master pxa_ssp_master_info = {
-       .num_chipselect = 0,
+       .num_chipselect = 1,
 };
 
 static int lubbock_ads7846_pendown_state(void)