From: Mike Rapoport Date: Tue, 14 Apr 2009 05:32:55 +0000 (+0300) Subject: [ARM] pxa/em-x270: explicitly set .gpio_cs in TDO35S SPI chip data X-Git-Tag: v2.6.30-rc4~53^2~2^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bd9d074098afb5f8693306d22aaf005bfb50d8f7;p=profile%2Fivi%2Fkernel-x86-ivi.git [ARM] pxa/em-x270: explicitly set .gpio_cs in TDO35S SPI chip data After commit a7bb3909b3293d503211d7f6af8ed62c1644b686 ("spi: pxa2xx_spi: introduce chipselect GPIO to simplify the common cases") the .gpio_cs field in pxa2xx_spi_chip has to be set explicitly. Signed-off-by: Mike Rapoport Signed-off-by: Eric Miao --- diff --git a/arch/arm/mach-pxa/em-x270.c b/arch/arm/mach-pxa/em-x270.c index 67611da..de40f1695 100644 --- a/arch/arm/mach-pxa/em-x270.c +++ b/arch/arm/mach-pxa/em-x270.c @@ -644,8 +644,9 @@ static struct pxa2xx_spi_master em_x270_spi_info = { }; static struct pxa2xx_spi_chip em_x270_tdo24m_chip = { - .rx_threshold = 1, - .tx_threshold = 1, + .rx_threshold = 1, + .tx_threshold = 1, + .gpio_cs = -1, }; static struct tdo24m_platform_data em_x270_tdo24m_pdata = {