diff options
author | John Crispin <blogic@openwrt.org> | 2015-11-04 13:50:07 +0300 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2015-11-11 10:37:56 +0300 |
commit | 418d29c8706170c6801998e48341181b274a47a8 (patch) | |
tree | 4fb4ada53d40a1a4e97238bb07947e03872643bc /arch/mips/ralink/prom.c | |
parent | 81857db913e9782546d29b52cd3efc80c0145c23 (diff) | |
download | linux-418d29c8706170c6801998e48341181b274a47a8.tar.xz |
MIPS: ralink: Unify SoC id handling
This makes detection a lot easier for audio, wifi, ... drivers.
Signed-off-by: John Crispin <blogic@openwrt.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11440/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/ralink/prom.c')
-rw-r--r-- | arch/mips/ralink/prom.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/mips/ralink/prom.c b/arch/mips/ralink/prom.c index 09419f67da39..39a9142f71be 100644 --- a/arch/mips/ralink/prom.c +++ b/arch/mips/ralink/prom.c @@ -15,11 +15,16 @@ #include <asm/bootinfo.h> #include <asm/addrspace.h> +#include <asm/mach-ralink/ralink_regs.h> + #include "common.h" struct ralink_soc_info soc_info; struct rt2880_pmx_group *rt2880_pinmux_data = NULL; +enum ralink_soc_type ralink_soc; +EXPORT_SYMBOL_GPL(ralink_soc); + const char *get_system_type(void) { return soc_info.sys_type; |