svn commit: r308560 - head/sys/dev/fdt

Justin Hibbits jhibbits at FreeBSD.org
Fri Nov 11 21:29:49 UTC 2016


Author: jhibbits
Date: Fri Nov 11 21:29:48 2016
New Revision: 308560
URL: https://svnweb.freebsd.org/changeset/base/308560

Log:
  Replace another fdt_is_compatible() call.

Modified:
  head/sys/dev/fdt/fdt_powerpc.c

Modified: head/sys/dev/fdt/fdt_powerpc.c
==============================================================================
--- head/sys/dev/fdt/fdt_powerpc.c	Fri Nov 11 21:01:45 2016	(r308559)
+++ head/sys/dev/fdt/fdt_powerpc.c	Fri Nov 11 21:29:48 2016	(r308560)
@@ -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,


More information about the svn-src-head mailing list