Replace another fdt_is_compatible() call.

This commit is contained in:
Justin Hibbits 2016-11-11 21:29:48 +00:00
parent 3cc771c38b
commit 5bb79eade4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=308560

View File

@ -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,