summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/patches-2.6.36/210-spi_bitbang_txrx.patch
diff options
context:
space:
mode:
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)