mirror of https://github.com/hak5/openwrt.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 <dev@kresin.me>openwrt-18.06
parent
2c4d81310f
commit
a0888ecbaf
|
@ -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);
|
||||
|
|
|
@ -72,7 +72,7 @@
|
|||
};
|
||||
|
||||
rtl8366rb {
|
||||
compatible = "rtl8366rb";
|
||||
compatible = "realtek,rtl8366rb";
|
||||
gpio-sda = <&gpio 35 GPIO_ACTIVE_HIGH>;
|
||||
gpio-sck = <&gpio 37 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
};
|
||||
|
||||
rtl8366rb {
|
||||
compatible = "rtl8366rb";
|
||||
compatible = "realtek,rtl8366rb";
|
||||
gpio-sda = <&gpio0 1 0>;
|
||||
gpio-sck = <&gpio0 2 0>;
|
||||
};
|
||||
|
|
|
@ -79,7 +79,7 @@
|
|||
};
|
||||
|
||||
rtl8366rb {
|
||||
compatible = "rtl8366rb";
|
||||
compatible = "realtek,rtl8366rb";
|
||||
gpio-sda = <&gpio0 1 0>;
|
||||
gpio-sck = <&gpio0 2 0>;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue