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 2f65a89..6b4bec5 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 486a28d..5b57986 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 a7a6587..41bea33 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)