Replace another fdt_is_compatible() call.
This commit is contained in:
parent
89a2ee96b1
commit
7db91e9092
@ -112,7 +112,7 @@ fdt_fixup_fman(phandle_t root)
|
||||
* That frequency is equal to /soc node bus-frequency.
|
||||
*/
|
||||
for (node = OF_child(node); node != 0; node = OF_peer(node)) {
|
||||
if (fdt_is_compatible(node, "fsl,fman") == 0)
|
||||
if (ofw_bus_node_is_compatible(node, "fsl,fman") == 0)
|
||||
continue;
|
||||
|
||||
if (OF_setprop(node, "clock-frequency", (void *)&freq,
|
||||
|
Loading…
x
Reference in New Issue
Block a user