mpc85xx: fix TL-WDR4900 v1 compatible string
authorMathias Kresin <dev@kresin.me>
Mon, 15 May 2017 21:52:02 +0000 (23:52 +0200)
committerMathias Kresin <dev@kresin.me>
Wed, 25 Oct 2017 07:22:13 +0000 (09:22 +0200)
Use the vendor as it is listed in vendor.txt. Use a standard lower case
compatible string.

Signed-off-by: Mathias Kresin <dev@kresin.me>
target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts
target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/tl_wdr4900_v1.c

index 2ad58d3fda14a30bb77770ea40a71f623e9217e8..c2444936b76b9e882caf5fdc2d28231420c18f0d 100644 (file)
@@ -13,7 +13,7 @@
 
 / {
        model = "TP-Link TL-WDR4900 v1";
-       compatible = "tp-link,TL-WDR4900v1";
+       compatible = "tplink,tl-wdr4900-v1";
 
        chosen {
                bootargs = "console=ttyS0,115200";
index 1b6dc18ac2406f4c579a64ca94e8b11f373594f0..9d7a22d17337087b632215f8cff5ca7f262301a8 100644 (file)
@@ -124,7 +124,7 @@ static int __init tl_wdr4900_v1_probe(void)
 {
        unsigned long root = of_get_flat_dt_root();
 
-       if (of_flat_dt_is_compatible(root, "tp-link,TL-WDR4900v1"))
+       if (of_flat_dt_is_compatible(root, "tplink,tl-wdr4900-v1"))
                return 1;
 
        return 0;