ramips: fix subtarget kernel version assignment (only mt7621 is ready for now)
[openwrt.git] / target / linux / ramips / patches-4.3 / 0022-arch-mips-ralink-proper-vendor-id-srtring.patch
1 From 2e5d90398aacde3e46dfd87e6f716b00a0ffcd83 Mon Sep 17 00:00:00 2001
2 From: John Crispin <blogic@openwrt.org>
3 Date: Mon, 7 Dec 2015 17:30:11 +0100
4 Subject: [PATCH 22/53] arch: mips: ralink: proper vendor id srtring
5
6 Signed-off-by: John Crispin <blogic@openwrt.org>
7 ---
8  arch/mips/ralink/mt7620.c |    2 +-
9  1 file changed, 1 insertion(+), 1 deletion(-)
10
11 --- a/arch/mips/ralink/mt7620.c
12 +++ b/arch/mips/ralink/mt7620.c
13 @@ -567,7 +567,7 @@ void prom_soc_init(struct ralink_soc_inf
14         }
15  
16         snprintf(soc_info->sys_type, RAMIPS_SYS_TYPE_LEN,
17 -               "Ralink %s ver:%u eco:%u",
18 +               "MediaTek %s ver:%u eco:%u",
19                 name,
20                 (rev >> CHIP_REV_VER_SHIFT) & CHIP_REV_VER_MASK,
21                 (rev & CHIP_REV_ECO_MASK));