diff options
author | John Crispin <blogic@openwrt.org> | 2015-11-04 11:50:07 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2015-11-11 08:37:56 +0100 |
commit | 418d29c8706170c6801998e48341181b274a47a8 (patch) | |
tree | 4fb4ada53d40a1a4e97238bb07947e03872643bc /arch/mips/ralink/rt3883.c | |
parent | MIPS: ralink: Add support for mt7688 (diff) | |
download | linux-418d29c8706170c6801998e48341181b274a47a8.tar.xz linux-418d29c8706170c6801998e48341181b274a47a8.zip |
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 '')
-rw-r--r-- | arch/mips/ralink/rt3883.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/ralink/rt3883.c b/arch/mips/ralink/rt3883.c index 86a535c770d8..582995aaaf4e 100644 --- a/arch/mips/ralink/rt3883.c +++ b/arch/mips/ralink/rt3883.c @@ -153,4 +153,6 @@ void prom_soc_init(struct ralink_soc_info *soc_info) soc_info->mem_size_max = RT3883_MEM_SIZE_MAX; rt2880_pinmux_data = rt3883_pinmux_data; + + ralink_soc == RT3883_SOC; } |