ath79: rename TL-WR740ND-v4 to TL-WR740N-v4
authorPaul Wassi <p.wassi@gmx.at>
Fri, 4 Jan 2019 21:26:01 +0000 (22:26 +0100)
committerChristian Lamparter <chunkeey@gmail.com>
Thu, 14 Feb 2019 15:56:14 +0000 (16:56 +0100)
Give the device the same name it had in ar71xx.

Signed-off-by: Paul Wassi <p.wassi@gmx.at>
target/linux/ath79/base-files/etc/board.d/01_leds
target/linux/ath79/base-files/etc/board.d/02_network
target/linux/ath79/dts/ar9331_tplink_tl-wr740n-v4.dts [new file with mode: 0644]
target/linux/ath79/dts/ar9331_tplink_tl-wr740nd-v4.dts [deleted file]
target/linux/ath79/image/tiny-tp-link.mk

index 2f65a8948b9e07f7bc376a0049b0a5a220991427..6b4bec56ce514b31b8098541ad8171a882b6deeb 100755 (executable)
@@ -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)
index 486a28defbf2af4c8390df1e9feee83c11c4c722..5b57986d5f32e6f7f2701abc0398311f29568ea1 100755 (executable)
@@ -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 (file)
index 0000000..6775a74
--- /dev/null
@@ -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 (file)
index 1b0283e..0000000
+++ /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";
-};
index a7a65878896a57b147166a81792150ac266ff51b..41bea334d33ff63c24b1f508ccf864bac520c1dd 100644 (file)
@@ -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)