projects
/
openwrt
/
staging
/
ansuel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db207e2
)
cns3xxx: fix build failure after r34168
author
Luka Perkov
<luka@openwrt.org>
Mon, 12 Nov 2012 19:27:29 +0000
(19:27 +0000)
committer
Luka Perkov
<luka@openwrt.org>
Mon, 12 Nov 2012 19:27:29 +0000
(19:27 +0000)
SVN-Revision: 34173
target/linux/cns3xxx/patches-3.3/075-spi_support.patch
patch
|
blob
|
history
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 0434c520e2ebc63c6701d4fe75c8b8a141a10399..bc1958db84f87306bfcaba34b1abd55145499e87 100644
(file)
--- 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
+ };
+
+ /**