Commit 3cb05c97 authored by Mike Rapoport's avatar Mike Rapoport Committed by Eric Miao

[ARM] pxa/em-x270: remove .gpio_cs from em_x270_libertas_pdata

Signed-off-by: default avatarMike Rapoport <mike@compulab.co.il>
Signed-off-by: default avatarEric Miao <eric.y.miao@gmail.com>
parent eb73e622
...@@ -735,6 +735,7 @@ static struct pxa2xx_spi_chip em_x270_libertas_chip = { ...@@ -735,6 +735,7 @@ static struct pxa2xx_spi_chip em_x270_libertas_chip = {
.rx_threshold = 1, .rx_threshold = 1,
.tx_threshold = 1, .tx_threshold = 1,
.timeout = 1000, .timeout = 1000,
.gpio_cs = 14,
}; };
static unsigned long em_x270_libertas_pin_config[] = { static unsigned long em_x270_libertas_pin_config[] = {
...@@ -803,7 +804,6 @@ static int em_x270_libertas_teardown(struct spi_device *spi) ...@@ -803,7 +804,6 @@ static int em_x270_libertas_teardown(struct spi_device *spi)
struct libertas_spi_platform_data em_x270_libertas_pdata = { struct libertas_spi_platform_data em_x270_libertas_pdata = {
.use_dummy_writes = 1, .use_dummy_writes = 1,
.gpio_cs = 14,
.setup = em_x270_libertas_setup, .setup = em_x270_libertas_setup,
.teardown = em_x270_libertas_teardown, .teardown = em_x270_libertas_teardown,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment