diff options
author | Mike Rapoport <mike@compulab.co.il> | 2009-04-14 01:32:55 -0400 |
---|---|---|
committer | Eric Miao <eric.miao@marvell.com> | 2009-04-14 10:55:36 -0400 |
commit | bd9d074098afb5f8693306d22aaf005bfb50d8f7 (patch) | |
tree | be8218079d4e3e109bc5e2d032c850b395c8f733 | |
parent | efb12cd20ace78aca03304f356f9c9c0c9ca3f66 (diff) |
[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 <mike@compulab.co.il>
Signed-off-by: Eric Miao <eric.miao@marvell.com>
-rw-r--r-- | arch/arm/mach-pxa/em-x270.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-pxa/em-x270.c b/arch/arm/mach-pxa/em-x270.c index 67611dadb44e..de40f169521b 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 = { | |||
644 | }; | 644 | }; |
645 | 645 | ||
646 | static struct pxa2xx_spi_chip em_x270_tdo24m_chip = { | 646 | static struct pxa2xx_spi_chip em_x270_tdo24m_chip = { |
647 | .rx_threshold = 1, | 647 | .rx_threshold = 1, |
648 | .tx_threshold = 1, | 648 | .tx_threshold = 1, |
649 | .gpio_cs = -1, | ||
649 | }; | 650 | }; |
650 | 651 | ||
651 | static struct tdo24m_platform_data em_x270_tdo24m_pdata = { | 652 | static struct tdo24m_platform_data em_x270_tdo24m_pdata = { |