[source] generic: rtl8366rb: fix compatible string
LEDE Commits
lede-commits at lists.infradead.org
Thu Feb 2 15:50:57 PST 2017
mkresin pushed a commit to source.git, branch master:
https://git.lede-project.org/a0888ecbaff47b54fabf41689e9250a7718561a5
commit a0888ecbaff47b54fabf41689e9250a7718561a5
Author: Mathias Kresin <dev at kresin.me>
AuthorDate: Thu Feb 2 22:42:25 2017 +0100
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 at kresin.me>
---
target/linux/generic/files/drivers/net/phy/rtl8366rb.c | 2 +-
target/linux/lantiq/dts/DGN3500.dtsi | 2 +-
target/linux/ramips/dts/F5D8235_V2.dts | 2 +-
target/linux/ramips/dts/WL-351.dts | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/target/linux/generic/files/drivers/net/phy/rtl8366rb.c b/target/linux/generic/files/drivers/net/phy/rtl8366rb.c
index f4ec748..a0aaabf 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 5528d59..e155577 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 084ca0f..b38dbbb 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 91e71c6..0c65f2f 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>;
};
More information about the lede-commits
mailing list