diff mbox series

[LEDE-DEV,v3,1/2] ar71xx: uniform GL iNet products mach name

Message ID 1516350961-17194-1-git-send-email-kysonlok@gmail.com
State Accepted
Delegated to: Piotr Dymacz
Headers show
Series [LEDE-DEV,v3,1/2] ar71xx: uniform GL iNet products mach name | expand

Commit Message

Kyson Lok Jan. 19, 2018, 8:36 a.m. UTC
The mach name of GL AR150 and GL AR300 is inconsistent
with other products.

Signed-off-by: Kyson Lok <kysonlok@gmail.com>
---
 target/linux/ar71xx/base-files/lib/ar71xx.sh              | 4 ++--
 target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar150.c | 2 +-
 target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar300.c | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

Comments

Piotr Dymacz Jan. 19, 2018, 12:56 p.m. UTC | #1
Hello Kyson,

Thank you for your patch, I merged it into my staging tree:
https://git.openwrt.org/openwrt/staging/pepe2k.git
diff mbox series

Patch

diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index b664249..7d414ed 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -664,10 +664,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 df52784..9824bb8 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 6f01b9e..ae96635 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);