aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/patches-3.0/190-falcon-fix_include.patch
diff options
context:
space:
mode:
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 332ba93712..371a94bb5c 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__ */