summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/patches-3.8/503-MIPS-ath79-add-flash-acquire-release.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-07-14 14:05:12 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-07-14 14:05:12 +0000
commit8d5d96e8338d436d6e46925932b687fa875a072a (patch)
tree2f29408c0b63117563142f9aa9fb8e7c9fd88cf4 /target/linux/ar71xx/patches-3.8/503-MIPS-ath79-add-flash-acquire-release.patch
parentd1238718c23a818b1be2fca068974d8fb916a599 (diff)
downloadmtk-20170518-8d5d96e8338d436d6e46925932b687fa875a072a.zip
mtk-20170518-8d5d96e8338d436d6e46925932b687fa875a072a.tar.gz
mtk-20170518-8d5d96e8338d436d6e46925932b687fa875a072a.tar.bz2
ar71xx: remove linux 3.8
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37290
Diffstat (limited to 'target/linux/ar71xx/patches-3.8/503-MIPS-ath79-add-flash-acquire-release.patch')
-rw-r--r--target/linux/ar71xx/patches-3.8/503-MIPS-ath79-add-flash-acquire-release.patch37
1 files changed, 0 insertions, 37 deletions
diff --git a/target/linux/ar71xx/patches-3.8/503-MIPS-ath79-add-flash-acquire-release.patch b/target/linux/ar71xx/patches-3.8/503-MIPS-ath79-add-flash-acquire-release.patch
deleted file mode 100644
index 06f7902..0000000
--- a/target/linux/ar71xx/patches-3.8/503-MIPS-ath79-add-flash-acquire-release.patch
+++ /dev/null
@@ -1,37 +0,0 @@
---- a/arch/mips/ath79/common.c
-+++ b/arch/mips/ath79/common.c
-@@ -22,6 +22,7 @@
- #include "common.h"
-
- static DEFINE_SPINLOCK(ath79_device_reset_lock);
-+static DEFINE_MUTEX(ath79_flash_mutex);
-
- u32 ath79_cpu_freq;
- EXPORT_SYMBOL_GPL(ath79_cpu_freq);
-@@ -111,3 +112,16 @@ void ath79_device_reset_clear(u32 mask)
- spin_unlock_irqrestore(&ath79_device_reset_lock, flags);
- }
- EXPORT_SYMBOL_GPL(ath79_device_reset_clear);
-+
-+void ath79_flash_acquire(void)
-+{
-+ mutex_lock(&ath79_flash_mutex);
-+}
-+EXPORT_SYMBOL_GPL(ath79_flash_acquire);
-+
-+void ath79_flash_release(void)
-+{
-+ mutex_unlock(&ath79_flash_mutex);
-+}
-+EXPORT_SYMBOL_GPL(ath79_flash_release);
-+
---- a/arch/mips/include/asm/mach-ath79/ath79.h
-+++ b/arch/mips/include/asm/mach-ath79/ath79.h
-@@ -143,4 +143,7 @@ static inline u32 ath79_reset_rr(unsigne
- void ath79_device_reset_set(u32 mask);
- void ath79_device_reset_clear(u32 mask);
-
-+void ath79_flash_acquire(void);
-+void ath79_flash_release(void);
-+
- #endif /* __ASM_MACH_ATH79_H */