Parcourir la source

generic: rtl8366rb: fix compatible string

Use a vendor prefix as it has to be for all not core driver. Update the
compatible string in the device tree files accordingly.

Signed-off-by: Mathias Kresin <[email protected]>
Mathias Kresin il y a 9 ans
Parent
commit
a0888ecbaf

+ 1 - 1
target/linux/generic/files/drivers/net/phy/rtl8366rb.c

@@ -1458,7 +1458,7 @@ static int rtl8366rb_remove(struct platform_device *pdev)
 
 #ifdef CONFIG_OF
 static const struct of_device_id rtl8366rb_match[] = {
-	{ .compatible = "rtl8366rb" },
+	{ .compatible = "realtek,rtl8366rb" },
 	{},
 };
 MODULE_DEVICE_TABLE(of, rtl8366rb_match);

+ 1 - 1
target/linux/lantiq/dts/DGN3500.dtsi

@@ -72,7 +72,7 @@
 	};
 
 	rtl8366rb {
-		compatible = "rtl8366rb";
+		compatible = "realtek,rtl8366rb";
 		gpio-sda = <&gpio 35 GPIO_ACTIVE_HIGH>;
 		gpio-sck = <&gpio 37 GPIO_ACTIVE_HIGH>;
 	};

+ 1 - 1
target/linux/ramips/dts/F5D8235_V2.dts

@@ -37,7 +37,7 @@
 	};
 
 	rtl8366rb {
-		compatible = "rtl8366rb";
+		compatible = "realtek,rtl8366rb";
 		gpio-sda = <&gpio0 1 0>;
 		gpio-sck = <&gpio0 2 0>;
 	};

+ 1 - 1
target/linux/ramips/dts/WL-351.dts

@@ -79,7 +79,7 @@
 	};
 
 	rtl8366rb {
-		compatible = "rtl8366rb";
+		compatible = "realtek,rtl8366rb";
 		gpio-sda = <&gpio0 1 0>;
 		gpio-sck = <&gpio0 2 0>;
 	};