From: Paul Wassi
Date: Fri, 4 Jan 2019 21:26:01 +0000 (+0100)
Subject: ath79: rename TL-WR740ND-v4 to TL-WR740N-v4
X-Git-Tag: v19.07.0-rc1~1315
X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ff541c5ca255f0c7e105dc7fe717f812470e39e7;p=openwrt%2Fstaging%2Fchunkeey.git
ath79: rename TL-WR740ND-v4 to TL-WR740N-v4
Give the device the same name it had in ar71xx.
Signed-off-by: Paul Wassi
---
diff --git a/target/linux/ath79/base-files/etc/board.d/01_leds b/target/linux/ath79/base-files/etc/board.d/01_leds
index 2f65a8948b..6b4bec56ce 100755
--- a/target/linux/ath79/base-files/etc/board.d/01_leds
+++ b/target/linux/ath79/base-files/etc/board.d/01_leds
@@ -119,7 +119,7 @@ tplink,tl-wr941-v4)
ucidef_set_led_switch "lan3" "LAN3" "tp-link:green:lan3" "switch0" "0x08"
ucidef_set_led_switch "lan4" "LAN4" "tp-link:green:lan4" "switch0" "0x10"
;;
-tplink,tl-wr740nd-v4|\
+tplink,tl-wr740n-v4|\
tplink,tl-wr741nd-v4|\
tplink,tl-wr841-v8|\
tplink,tl-wr842n-v2)
diff --git a/target/linux/ath79/base-files/etc/board.d/02_network b/target/linux/ath79/base-files/etc/board.d/02_network
index 486a28defb..5b57986d5f 100755
--- a/target/linux/ath79/base-files/etc/board.d/02_network
+++ b/target/linux/ath79/base-files/etc/board.d/02_network
@@ -193,7 +193,7 @@ ath79_setup_interfaces()
ucidef_add_switch "switch0" \
"0@eth1" "1:lan" "2:lan" "3:lan" "4:lan"
;;
- tplink,tl-wr740nd-v4|\
+ tplink,tl-wr740n-v4|\
tplink,tl-wr741nd-v4|\
tplink,tl-wr841-v8|\
tplink,tl-wr842n-v1|\
diff --git a/target/linux/ath79/dts/ar9331_tplink_tl-wr740n-v4.dts b/target/linux/ath79/dts/ar9331_tplink_tl-wr740n-v4.dts
new file mode 100644
index 0000000000..6775a7467f
--- /dev/null
+++ b/target/linux/ath79/dts/ar9331_tplink_tl-wr740n-v4.dts
@@ -0,0 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+/dts-v1/;
+
+#include "ar9331_tplink_tl-wr741nd-v4.dtsi"
+
+/ {
+ model = "TP-Link TL-WR740N v4";
+ compatible = "tplink,tl-wr740n-v4", "qca,ar9331";
+};
diff --git a/target/linux/ath79/dts/ar9331_tplink_tl-wr740nd-v4.dts b/target/linux/ath79/dts/ar9331_tplink_tl-wr740nd-v4.dts
deleted file mode 100644
index 1b0283ebfb..0000000000
--- a/target/linux/ath79/dts/ar9331_tplink_tl-wr740nd-v4.dts
+++ /dev/null
@@ -1,9 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
-/dts-v1/;
-
-#include "ar9331_tplink_tl-wr741nd-v4.dtsi"
-
-/ {
- model = "TP-Link TL-WR740N/ND v4";
- compatible = "tplink,tl-wr740nd-v4", "qca,ar9331";
-};
diff --git a/target/linux/ath79/image/tiny-tp-link.mk b/target/linux/ath79/image/tiny-tp-link.mk
index a7a6587889..41bea334d3 100644
--- a/target/linux/ath79/image/tiny-tp-link.mk
+++ b/target/linux/ath79/image/tiny-tp-link.mk
@@ -85,14 +85,14 @@ define Device/tplink_tl-wr740n-v3
endef
TARGET_DEVICES += tplink_tl-wr740n-v3
-define Device/tplink_tl-wr740nd-v4
+define Device/tplink_tl-wr740n-v4
$(Device/tplink-4mlzma)
ATH_SOC := ar9331
- DEVICE_TITLE := TP-LINK TL-WR740N/ND v4
+ DEVICE_TITLE := TP-LINK TL-WR740N v4
TPLINK_HWID := 0x07400004
SUPPORTED_DEVICES += tl-wr740n-v4
endef
-TARGET_DEVICES += tplink_tl-wr740nd-v4
+TARGET_DEVICES += tplink_tl-wr740n-v4
define Device/tplink_tl-wr741-v1
$(Device/tplink-4m)