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 <dev@kresin.me>
openwrt-18.06
Mathias Kresin 2017-02-02 22:42:25 +01:00
parent 2c4d81310f
commit a0888ecbaf
4 changed files with 4 additions and 4 deletions

View File

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

View File

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

View File

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

View File

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