gemini: Fix up DNS-313 compatible string
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 20 Jun 2019 11:19:06 +0000 (13:19 +0200)
committerChristian Lamparter <chunkeey@gmail.com>
Thu, 20 Jun 2019 18:02:30 +0000 (20:02 +0200)
It's a simple typo in the DNS file, which was pretty serious.
No scripts were working properly. Fix it up.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
[integrate upstream patch into openwrt target]

target/linux/gemini/patches-4.14/0013-ARM-dts-Add-basic-devicetree-for-D-Link-DNS-313.patch
target/linux/gemini/patches-4.19/0021-ARM-dts-gemini-Fix-up-DNS-313-compatible-string.patch [new file with mode: 0644]

index cdf25a9258ee1cf6a7b3beca688797dffa9976c8..3d2f4ed8a96cc543385ae7e59c2f7086cb439358 100644 (file)
@@ -42,7 +42,7 @@ Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
 +
 +/ {
 +      model = "D-Link DNS-313 1-Bay Network Storage Enclosure";
-+      compatible = "dlink,dir-313", "cortina,gemini";
++      compatible = "dlink,dns-313", "cortina,gemini";
 +      #address-cells = <1>;
 +      #size-cells = <1>;
 +
diff --git a/target/linux/gemini/patches-4.19/0021-ARM-dts-gemini-Fix-up-DNS-313-compatible-string.patch b/target/linux/gemini/patches-4.19/0021-ARM-dts-gemini-Fix-up-DNS-313-compatible-string.patch
new file mode 100644 (file)
index 0000000..b4572b2
--- /dev/null
@@ -0,0 +1,21 @@
+From: Linus Walleij <linus.walleij@linaro.org>
+Date: Sun, 16 Jun 2019 23:41:20 +0200
+Subject: [PATCH] ARM: dts: gemini Fix up DNS-313 compatible
+
+It's a simple typo in the DNS file, which was pretty serious.
+No scripts were working properly. Fix it up.
+
+Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
+---
+
+--- a/arch/arm/boot/dts/gemini-dlink-dns-313.dts
++++ b/arch/arm/boot/dts/gemini-dlink-dns-313.dts
+@@ -11,7 +11,7 @@
+ / {
+       model = "D-Link DNS-313 1-Bay Network Storage Enclosure";
+-      compatible = "dlink,dir-313", "cortina,gemini";
++      compatible = "dlink,dns-313", "cortina,gemini";
+       #address-cells = <1>;
+       #size-cells = <1>;