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/rt288x.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/rt288x.c')
-rw-r--r-- | arch/mips/ralink/rt288x.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/ralink/rt288x.c b/arch/mips/ralink/rt288x.c index 738cec865f41..844f5cd55c8f 100644 --- a/arch/mips/ralink/rt288x.c +++ b/arch/mips/ralink/rt288x.c @@ -119,4 +119,5 @@ void prom_soc_init(struct ralink_soc_info *soc_info) soc_info->mem_size_max = RT2880_MEM_SIZE_MAX; rt2880_pinmux_data = rt2880_pinmux_data_act; + ralink_soc == RT2880_SOC; } |