aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorKyson Lok <kysonlok@gmail.com>2018-01-19 16:36:00 +0800
committerPiotr Dymacz <pepe2k@gmail.com>2018-02-22 18:53:21 +0100
commit9dbfd8e9dfb0abc0283d6512196bb4fd72bd6ab8 (patch)
tree4f03afb9a210e5f05dc81ea2c65ceb65a6425633 /target/linux
parent6b6dc2b3e38b3cc821cebd7d7cf0610e1ce65964 (diff)
downloadupstream-9dbfd8e9dfb0abc0283d6512196bb4fd72bd6ab8.tar.gz
upstream-9dbfd8e9dfb0abc0283d6512196bb4fd72bd6ab8.tar.bz2
upstream-9dbfd8e9dfb0abc0283d6512196bb4fd72bd6ab8.zip
ar71xx: uniform GL iNet products mach name
The mach name of GL AR150 and GL AR300 is inconsistent with other products. Signed-off-by: Kyson Lok <kysonlok@gmail.com>
Diffstat (limited to 'target/linux')
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh4
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar150.c2
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar300.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index a255b83802..f0742c1e7b 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -676,10 +676,10 @@ ar71xx_board_detect() {
*"FRITZ!WLAN Repeater 300E")
name="fritz300e"
;;
- *"GL AR150")
+ *"GL-AR150")
name="gl-ar150"
;;
- *"GL AR300")
+ *"GL-AR300")
name="gl-ar300"
;;
*"GL-AR300M")
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar150.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar150.c
index df52784919..9824bb89f9 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar150.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar150.c
@@ -122,4 +122,4 @@ static void __init gl_ar150_setup(void)
ath79_register_wmac(art + GL_AR150_CALDATA_OFFSET, art + GL_AR150_WMAC_MAC_OFFSET);
}
-MIPS_MACHINE(ATH79_MACH_GL_AR150, "GL-AR150", "GL AR150",gl_ar150_setup);
+MIPS_MACHINE(ATH79_MACH_GL_AR150, "GL-AR150", "GL-AR150",gl_ar150_setup);
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar300.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar300.c
index 6f01b9e4de..ae96635313 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar300.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar300.c
@@ -100,4 +100,4 @@ static void __init gl_ar300_setup(void)
ath79_register_wmac(art + GL_AR300_CALDATA_OFFSET, art + GL_AR300_WMAC_MAC_OFFSET);
}
-MIPS_MACHINE(ATH79_MACH_GL_AR300, "GL-AR300", "GL AR300",gl_ar300_setup);
+MIPS_MACHINE(ATH79_MACH_GL_AR300, "GL-AR300", "GL-AR300",gl_ar300_setup);