diff options
author | Luka Perkov <luka@openwrt.org> | 2012-11-12 19:27:29 +0000 |
---|---|---|
committer | Luka Perkov <luka@openwrt.org> | 2012-11-12 19:27:29 +0000 |
commit | fb9b572f0aa2a6793e286cb33136766eaf8ad7b7 (patch) | |
tree | 7efe4350f3396eaa3f89538c99a0f0925e6c9e54 /target | |
parent | db207e2a873e55747a6a6bff407c8b3de04d8301 (diff) | |
download | mtk-20170518-fb9b572f0aa2a6793e286cb33136766eaf8ad7b7.zip mtk-20170518-fb9b572f0aa2a6793e286cb33136766eaf8ad7b7.tar.gz mtk-20170518-fb9b572f0aa2a6793e286cb33136766eaf8ad7b7.tar.bz2 |
cns3xxx: fix build failure after r34168
SVN-Revision: 34173
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/cns3xxx/patches-3.3/075-spi_support.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/target/linux/cns3xxx/patches-3.3/075-spi_support.patch b/target/linux/cns3xxx/patches-3.3/075-spi_support.patch index 0434c52..bc1958d 100644 --- a/target/linux/cns3xxx/patches-3.3/075-spi_support.patch +++ b/target/linux/cns3xxx/patches-3.3/075-spi_support.patch @@ -39,3 +39,19 @@ status = bitbang->txrx_bufs(spi, t); } if (status > 0) +--- a/include/linux/spi/spi.h ++++ b/include/linux/spi/spi.h +@@ -508,6 +508,13 @@ struct spi_transfer { + u32 speed_hz; + + struct list_head transfer_list; ++ ++#ifdef CONFIG_ARCH_CNS3XXX ++ unsigned last_in_message_list; ++#ifdef CONFIG_SPI_CNS3XXX_2IOREAD ++ u8 dio_read; ++#endif ++#endif + }; + + /** |