diff options
author | John Crispin <blogic@openwrt.org> | 2014-09-10 22:29:21 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-11-24 07:45:18 +0100 |
commit | e8b8ca8cb34486fc27984c402ee89a183ef1b1b7 (patch) | |
tree | 2a9b597ae7644ead86c95c8d248dfd20d8aed464 /arch/mips/lantiq | |
parent | 276229d2a98975d0cca9637d1dfee6a9876b54c5 (diff) | |
download | op-kernel-dev-e8b8ca8cb34486fc27984c402ee89a183ef1b1b7.zip op-kernel-dev-e8b8ca8cb34486fc27984c402ee89a183ef1b1b7.tar.gz |
MIPS: lantiq: export soc type
The voice and dsl drivers need to know which SoC we are running on.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Patchwork: http://patchwork.linux-mips.org/patch/8046/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/lantiq')
-rw-r--r-- | arch/mips/lantiq/prom.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/mips/lantiq/prom.c b/arch/mips/lantiq/prom.c index 758970e..968da50 100644 --- a/arch/mips/lantiq/prom.c +++ b/arch/mips/lantiq/prom.c @@ -36,6 +36,11 @@ const char *get_system_type(void) return soc_info.sys_type; } +int ltq_soc_type(void) +{ + return soc_info.type; +} + void prom_free_prom_memory(void) { } |