summaryrefslogtreecommitdiff
path: root/target/linux/lantiq/patches-3.0/190-falcon-fix_include.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2011-09-26 09:35:02 +0000
committerJohn Crispin <john@openwrt.org>2011-09-26 09:35:02 +0000
commitcf59e7255dff4020c397f375fd62f15df955f5d2 (patch)
tree2218e4171f371926b919a798d46ff949dcceac48 /target/linux/lantiq/patches-3.0/190-falcon-fix_include.patch
parent07986230f1b5ff482a46242da6eefd1055521f7b (diff)
downloadmtk-20170518-cf59e7255dff4020c397f375fd62f15df955f5d2.zip
mtk-20170518-cf59e7255dff4020c397f375fd62f15df955f5d2.tar.gz
mtk-20170518-cf59e7255dff4020c397f375fd62f15df955f5d2.tar.bz2
* rebase 3.0 patches * fold some fixes into existing patches
SVN-Revision: 28308
Diffstat (limited to 'target/linux/lantiq/patches-3.0/190-falcon-fix_include.patch')
-rw-r--r--target/linux/lantiq/patches-3.0/190-falcon-fix_include.patch7
1 files changed, 6 insertions, 1 deletions
diff --git a/target/linux/lantiq/patches-3.0/190-falcon-fix_include.patch b/target/linux/lantiq/patches-3.0/190-falcon-fix_include.patch
index 332ba93..371a94b 100644
--- a/target/linux/lantiq/patches-3.0/190-falcon-fix_include.patch
+++ b/target/linux/lantiq/patches-3.0/190-falcon-fix_include.patch
@@ -1,6 +1,6 @@
--- /dev/null
+++ b/arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h
-@@ -0,0 +1,40 @@
+@@ -0,0 +1,45 @@
+/*
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 as published
@@ -39,5 +39,10 @@
+#define LTQ_WDT_BASE_ADDR 0x1F8803F0
+#define LTQ_WDT_SIZE 0x10
+
++extern int ltq_gpio_request(unsigned int pin, unsigned int alt0,
++ unsigned int alt1, unsigned int dir,
++ const char *name);
++extern int ltq_gpio_mux_set(unsigned int pin, unsigned int mux);
++
+#endif /* CONFIG_SOC_FALCON */
+#endif /* _LTQ_XWAY_H__ */