summaryrefslogtreecommitdiff
path: root/target/linux/atheros/patches-3.8/100-board.patch
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2013-05-02 11:46:53 +0000
committerJo-Philipp Wich <jow@openwrt.org>2013-05-02 11:46:53 +0000
commit6ac2b3b76a728fe75d6b2014bfdeeeb7f39fa4b9 (patch)
tree21f5a5e0faead88e4497f8142f98275d8f653a77 /target/linux/atheros/patches-3.8/100-board.patch
parent7f2743d45852d345f20809f1c24d1c197583b5d3 (diff)
downloadmtk-20170518-6ac2b3b76a728fe75d6b2014bfdeeeb7f39fa4b9.zip
mtk-20170518-6ac2b3b76a728fe75d6b2014bfdeeeb7f39fa4b9.tar.gz
mtk-20170518-6ac2b3b76a728fe75d6b2014bfdeeeb7f39fa4b9.tar.bz2
atheros: remove static gpio_request() from board setup and include generic kmod-gpio-button-hotplug instead.
This change is based on a patch by Karl Palsson <karlp@remake.is> See http://patchwork.openwrt.org/patch/3536/. SVN-Revision: 36513
Diffstat (limited to 'target/linux/atheros/patches-3.8/100-board.patch')
-rw-r--r--target/linux/atheros/patches-3.8/100-board.patch4
1 files changed, 1 insertions, 3 deletions
diff --git a/target/linux/atheros/patches-3.8/100-board.patch b/target/linux/atheros/patches-3.8/100-board.patch
index 56c1f69..8663156 100644
--- a/target/linux/atheros/patches-3.8/100-board.patch
+++ b/target/linux/atheros/patches-3.8/100-board.patch
@@ -2106,7 +2106,7 @@
+
--- /dev/null
+++ b/arch/mips/ar231x/ar2315.c
-@@ -0,0 +1,694 @@
+@@ -0,0 +1,692 @@
+/*
+ * This file is subject to the terms and conditions of the GNU General Public
+ * License. See the file "COPYING" in the main directory of this archive
@@ -2789,8 +2789,6 @@
+ if (!is_2315())
+ return;
+
-+ gpio_request(AR2315_RESET_GPIO, "reset");
-+
+ /* Clear any lingering AHB errors */
+ config = read_c0_config();
+ write_c0_config(config & ~0x3);