05017b1bffc55579f8c14a3ac6031af6b3ec5b3b
[openwrt/staging/dedeckeh.git] / target / linux / ramips / patches-4.4 / 0022-MIPS-ralink-Fix-vendor-string-for-mt7620.patch
1 From 3bca798b859c75063b3b4e65f6b019c7a4bd53ef Mon Sep 17 00:00:00 2001
2 From: John Crispin <blogic@openwrt.org>
3 Date: Mon, 4 Jan 2016 20:23:59 +0100
4 Subject: [PATCH] MIPS: ralink: Fix vendor string for mt7620
5
6 Ralink was acquired by Mediatek. Represent this in the cpuinfo. It
7 apparently confused people.
8
9 Signed-off-by: John Crispin <blogic@openwrt.org>
10 Cc: linux-mips@linux-mips.org
11 Patchwork: https://patchwork.linux-mips.org/patch/11994/
12 Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
13 ---
14 arch/mips/ralink/mt7620.c | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17 --- a/arch/mips/ralink/mt7620.c
18 +++ b/arch/mips/ralink/mt7620.c
19 @@ -555,7 +555,7 @@ void prom_soc_init(struct ralink_soc_inf
20 }
21
22 snprintf(soc_info->sys_type, RAMIPS_SYS_TYPE_LEN,
23 - "Ralink %s ver:%u eco:%u",
24 + "MediaTek %s ver:%u eco:%u",
25 name,
26 (rev >> CHIP_REV_VER_SHIFT) & CHIP_REV_VER_MASK,
27 (rev & CHIP_REV_ECO_MASK));