Use the new ofw_bus_node_is_compatible function in the mips code.
Sponsored by: ABT Systems Ltd
This commit is contained in:
parent
a256d9237a
commit
a61804c095
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=308610
@ -248,7 +248,7 @@ mtk_soc_try_early_detect(void)
|
||||
return;
|
||||
|
||||
for (i = 0; compat_data[i].ocd_str != NULL; i++) {
|
||||
if (fdt_is_compatible(node, compat_data[i].ocd_str)) {
|
||||
if (ofw_bus_node_is_compatible(node, compat_data[i].ocd_str)) {
|
||||
mtk_soc_socid = compat_data[i].ocd_data;
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user