summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/patches-2.6.36/210-spi_bitbang_txrx.patch
diff options
context:
space:
mode:
authoracoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-10-08 12:10:18 +0000
committeracoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-10-08 12:10:18 +0000
commit86ddd45f316f7878178f36b319964b92547833f0 (patch)
tree059ad1fcf4d3fb24797ef02b4f4d92d5f74817a1 /target/linux/ar71xx/patches-2.6.36/210-spi_bitbang_txrx.patch
parent17d5c3dc3af50a257ce659ee789590c17a809d31 (diff)
linux/ar71xx: add preliminary 2.6.36 kernel support (refresh patches)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23317 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/patches-2.6.36/210-spi_bitbang_txrx.patch')
-rw-r--r--target/linux/ar71xx/patches-2.6.36/210-spi_bitbang_txrx.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/ar71xx/patches-2.6.36/210-spi_bitbang_txrx.patch b/target/linux/ar71xx/patches-2.6.36/210-spi_bitbang_txrx.patch
new file mode 100644
index 000000000..d4b8ecba4
--- /dev/null
+++ b/target/linux/ar71xx/patches-2.6.36/210-spi_bitbang_txrx.patch
@@ -0,0 +1,12 @@
+--- a/drivers/spi/ap83_spi.c
++++ b/drivers/spi/ap83_spi.c
+@@ -125,8 +125,8 @@ static void ap83_spi_chipselect(struct s
+ do_spidelay(spi, nsecs); \
+ } while (0)
+
+-#define EXPAND_BITBANG_TXRX
+ #include <linux/spi/spi_bitbang.h>
++#include "spi_bitbang_txrx.h"
+
+ static u32 ap83_spi_txrx_mode0(struct spi_device *spi,
+ unsigned nsecs, u32 word, u8 bits)