diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-02-10 08:19:33 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-02-10 08:19:33 +0000 |
commit | fe0c7aac669c960c7cc9683d5068980bf732c2f6 (patch) | |
tree | 9a7d0cc9c7c533b21aaf9455b01ce17dcf76a3a0 /target/linux/ar71xx/patches-3.2/304-spi-ap83-3.2-fixes.patch | |
parent | d72bde99cd03721fd5b04a1b365bd3f30d4277d9 (diff) | |
download | mtk-20170518-fe0c7aac669c960c7cc9683d5068980bf732c2f6.zip mtk-20170518-fe0c7aac669c960c7cc9683d5068980bf732c2f6.tar.gz mtk-20170518-fe0c7aac669c960c7cc9683d5068980bf732c2f6.tar.bz2 |
ar71xx: merge 3.2 fixes
SVN-Revision: 30406
Diffstat (limited to 'target/linux/ar71xx/patches-3.2/304-spi-ap83-3.2-fixes.patch')
-rw-r--r-- | target/linux/ar71xx/patches-3.2/304-spi-ap83-3.2-fixes.patch | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/target/linux/ar71xx/patches-3.2/304-spi-ap83-3.2-fixes.patch b/target/linux/ar71xx/patches-3.2/304-spi-ap83-3.2-fixes.patch deleted file mode 100644 index 7a9d686..0000000 --- a/target/linux/ar71xx/patches-3.2/304-spi-ap83-3.2-fixes.patch +++ /dev/null @@ -1,47 +0,0 @@ ---- a/drivers/spi/spi-ap83.c -+++ b/drivers/spi/spi-ap83.c -@@ -10,6 +10,7 @@ - */ - - #include <linux/kernel.h> -+#include <linux/module.h> - #include <linux/init.h> - #include <linux/delay.h> - #include <linux/spinlock.h> -@@ -21,8 +22,7 @@ - #include <linux/bitops.h> - #include <linux/gpio.h> - --#include <asm/mach-ar71xx/ar71xx.h> --#include <asm/mach-ar71xx/platform.h> -+#include <asm/mach-ath79/ath79.h> - - #define DRV_DESC "Atheros AP83 board SPI Controller driver" - #define DRV_VERSION "0.1.0" -@@ -106,7 +106,7 @@ static void ap83_spi_chipselect(struct s - dev_dbg(&spi->dev, "set CS to %d\n", (on) ? 0 : 1); - - if (on) { -- ar71xx_flash_acquire(); -+ ath79_flash_acquire(); - - sp->addr = 0; - ap83_spi_rr(sp, sp->addr); -@@ -114,7 +114,7 @@ static void ap83_spi_chipselect(struct s - gpio_set_value(AP83_SPI_GPIO_CS, 0); - } else { - gpio_set_value(AP83_SPI_GPIO_CS, 1); -- ar71xx_flash_release(); -+ ath79_flash_release(); - } - } - -@@ -127,7 +127,7 @@ static void ap83_spi_chipselect(struct s - - #define EXPAND_BITBANG_TXRX - #include <linux/spi/spi_bitbang.h> --#include "spi_bitbang_txrx.h" -+#include "spi-bitbang-txrx.h" - - static u32 ap83_spi_txrx_mode0(struct spi_device *spi, - unsigned nsecs, u32 word, u8 bits) |