diff options
author | acoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-06-09 10:45:47 +0000 |
---|---|---|
committer | acoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-06-09 10:45:47 +0000 |
commit | a6f330452b814518443677c156ddf19f10d4c573 (patch) | |
tree | 57210ef7b52e8cae731bff7870d5a58b30befc7f /target/linux/ar71xx/patches-2.6.35/210-spi_bitbang_txrx.patch | |
parent | 631e642ab65f1af2d5cb9ca2184825bf8732fb0c (diff) |
ar71xx: add kernel 2.6.35 preliminary support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21734 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/patches-2.6.35/210-spi_bitbang_txrx.patch')
-rw-r--r-- | target/linux/ar71xx/patches-2.6.35/210-spi_bitbang_txrx.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/target/linux/ar71xx/patches-2.6.35/210-spi_bitbang_txrx.patch b/target/linux/ar71xx/patches-2.6.35/210-spi_bitbang_txrx.patch new file mode 100644 index 000000000..6305b03f1 --- /dev/null +++ b/target/linux/ar71xx/patches-2.6.35/210-spi_bitbang_txrx.patch @@ -0,0 +1,24 @@ +--- 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) +--- a/drivers/spi/spi_gpio_old.c ++++ b/drivers/spi/spi_gpio_old.c +@@ -74,8 +74,8 @@ static inline void do_spidelay(struct sp + do_spidelay(spi, nsecs); \ + } while (0) + +-#define EXPAND_BITBANG_TXRX + #include <linux/spi/spi_bitbang.h> ++#include "spi_bitbang_txrx.h" + + static u32 spi_gpio_txrx_mode0(struct spi_device *spi, + unsigned nsecs, u32 word, u8 bits) |