From 7fd158920a3a7ea6b651b24aa1d600cf83c83862 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Mon, 3 Nov 2014 08:32:55 +0000 Subject: 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 --- target/linux/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 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; } @@ -19,6 +19,8 @@ +{ + return soc_info.type; +} ++ ++EXPORT_SYMBOL(ltq_soc_type); + void prom_free_prom_memory(void) { -- cgit v1.2.3