Skip to content

Commit

Permalink
mpc85xx: fix TL-WDR4900 v1 compatible string
Browse files Browse the repository at this point in the history
Use the vendor as it is listed in vendor.txt. Use a standard lower case
compatible string.

Signed-off-by: Mathias Kresin <[email protected]>
  • Loading branch information
mkresin committed Oct 25, 2017
1 parent 93bfac4 commit f0e1f69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f0e1f69

Please sign in to comment.