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 | d9e7b083bbab529c960739e0ae6e2cdef58da7e1 (patch) | |
tree | 6bce4f7ba59232b02836e2ce053c30dfabed5a8b /target/linux/cns3xxx/patches-3.3 | |
parent | 99bdb18a78aa30ce9a1cf2346f3f1c21e86d1937 (diff) | |
download | upstream-d9e7b083bbab529c960739e0ae6e2cdef58da7e1.tar.gz upstream-d9e7b083bbab529c960739e0ae6e2cdef58da7e1.tar.bz2 upstream-d9e7b083bbab529c960739e0ae6e2cdef58da7e1.zip |
cns3xxx: fix build failure after r34168
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34173 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/cns3xxx/patches-3.3')
-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 0434c520e2..bc1958db84 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 + }; + + /** |