From 273b8aa778b88f19995867895c9bc1c7eab2709a Mon Sep 17 00:00:00 2001 From: blogic Date: Mon, 3 Nov 2014 08:32:55 +0000 Subject: [PATCH] BB: lantiq: exportt ltq_soc_type Signed-off-by: Eddi De Pieri git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@43162 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../lantiq/patches-3.10/0209-lantiq-export-soc-type.patch | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 cb0a559..f2f5070 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; } @@ -19,6 +19,8 @@ +{ + return soc_info.type; +} ++ ++EXPORT_SYMBOL(ltq_soc_type); + void prom_free_prom_memory(void) { -- 2.35.1