From: Mathias Kresin Date: Thu, 2 Feb 2017 21:42:25 +0000 (+0100) Subject: generic: rtl8366rb: fix compatible string X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a0888ecbaff47b54fabf41689e9250a7718561a5;p=openwrt%2Fstaging%2Fwigyori.git 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 --- diff --git a/target/linux/generic/files/drivers/net/phy/rtl8366rb.c b/target/linux/generic/files/drivers/net/phy/rtl8366rb.c index f4ec7483d6..a0aaabf546 100644 --- a/target/linux/generic/files/drivers/net/phy/rtl8366rb.c +++ b/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); diff --git a/target/linux/lantiq/dts/DGN3500.dtsi b/target/linux/lantiq/dts/DGN3500.dtsi index 5528d5994b..e155577414 100644 --- a/target/linux/lantiq/dts/DGN3500.dtsi +++ b/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>; }; diff --git a/target/linux/ramips/dts/F5D8235_V2.dts b/target/linux/ramips/dts/F5D8235_V2.dts index 084ca0f25a..b38dbbb072 100644 --- a/target/linux/ramips/dts/F5D8235_V2.dts +++ b/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>; }; diff --git a/target/linux/ramips/dts/WL-351.dts b/target/linux/ramips/dts/WL-351.dts index 91e71c657a..0c65f2f45c 100644 --- a/target/linux/ramips/dts/WL-351.dts +++ b/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>; };