aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/patches-3.10/0209-lantiq-export-soc-type.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/lantiq/patches-3.10/0209-lantiq-export-soc-type.patch')
-rw-r--r--target/linux/lantiq/patches-3.10/0209-lantiq-export-soc-type.patch4
1 files changed, 3 insertions, 1 deletions
diff --git a/target/linux/lantiq/patches-3.10/0209-lantiq-export-soc-type.patch b/target/linux/lantiq/patches-3.10/0209-lantiq-export-soc-type.patch
index cb0a559cf7..f2f50704af 100644
--- a/target/linux/lantiq/patches-3.10/0209-lantiq-export-soc-type.patch
+++ b/target/linux/lantiq/patches-3.10/0209-lantiq-export-soc-type.patch
@@ -11,7 +11,7 @@
#define IOPORT_RESOURCE_END 0xffffffff
--- a/arch/mips/lantiq/prom.c
+++ b/arch/mips/lantiq/prom.c
-@@ -35,6 +35,11 @@ const char *get_system_type(void)
+@@ -35,6 +35,13 @@ const char *get_system_type(void)
return soc_info.sys_type;
}
@@ -20,6 +20,8 @@
+ return soc_info.type;
+}
+
++EXPORT_SYMBOL(ltq_soc_type);
++
void prom_free_prom_memory(void)
{
}