svn commit: r255912 - projects/pmac_pmu/sys/powerpc/cpufreq

Justin Hibbits jhibbits at FreeBSD.org
Fri Sep 27 15:10:37 UTC 2013


Author: jhibbits
Date: Fri Sep 27 15:10:36 2013
New Revision: 255912
URL: http://svnweb.freebsd.org/changeset/base/255912

Log:
  Fix a bug in copy/paste of the requirements check for pmufreq.

Modified:
  projects/pmac_pmu/sys/powerpc/cpufreq/pmufreq.c

Modified: projects/pmac_pmu/sys/powerpc/cpufreq/pmufreq.c
==============================================================================
--- projects/pmac_pmu/sys/powerpc/cpufreq/pmufreq.c	Fri Sep 27 14:55:59 2013	(r255911)
+++ projects/pmac_pmu/sys/powerpc/cpufreq/pmufreq.c	Fri Sep 27 15:10:36 2013	(r255912)
@@ -87,7 +87,7 @@ pmufreq_identify(driver_t *driver, devic
 	phandle_t node;
 	uint32_t min_freq;
 
-	node = ofw_bus_get_node(device_get_parent(parent));
+	node = ofw_bus_get_node(parent);
 	if (OF_getprop(node, "min-clock-frequency", &min_freq, sizeof(min_freq)) == -1)
 		return;
 


More information about the svn-src-projects mailing list