aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mpc85xx/files
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2017-05-15 23:52:02 +0200
committerMathias Kresin <dev@kresin.me>2017-10-25 09:22:13 +0200
commitf0e1f69f39c4ab93a86349fa40b6e4aeba85aa24 (patch)
tree147b96d71b1d8e3cac67b037959a6d1868d95ae7 /target/linux/mpc85xx/files
parent93bfac468e9917ecc97ee24700cb50104feb441d (diff)
downloadupstream-f0e1f69f39c4ab93a86349fa40b6e4aeba85aa24.tar.gz
upstream-f0e1f69f39c4ab93a86349fa40b6e4aeba85aa24.tar.bz2
upstream-f0e1f69f39c4ab93a86349fa40b6e4aeba85aa24.zip
mpc85xx: fix TL-WDR4900 v1 compatible string
Use the vendor as it is listed in vendor.txt. Use a standard lower case compatible string. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/mpc85xx/files')
-rw-r--r--target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts2
-rw-r--r--target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/tl_wdr4900_v1.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts
index 2ad58d3fda..c2444936b7 100644
--- a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts
+++ b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts
@@ -13,7 +13,7 @@
/ {
model = "TP-Link TL-WDR4900 v1";
- compatible = "tp-link,TL-WDR4900v1";
+ compatible = "tplink,tl-wdr4900-v1";
chosen {
bootargs = "console=ttyS0,115200";
diff --git a/target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/tl_wdr4900_v1.c b/target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/tl_wdr4900_v1.c
index 1b6dc18ac2..9d7a22d173 100644
--- a/target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/tl_wdr4900_v1.c
+++ b/target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/tl_wdr4900_v1.c
@@ -124,7 +124,7 @@ static int __init tl_wdr4900_v1_probe(void)
{
unsigned long root = of_get_flat_dt_root();
- if (of_flat_dt_is_compatible(root, "tp-link,TL-WDR4900v1"))
+ if (of_flat_dt_is_compatible(root, "tplink,tl-wdr4900-v1"))
return 1;
return 0;