Support AM335x (beaglebone)

This commit is contained in:
Manuel Bouyer 2015-04-18 19:17:48 +02:00 committed by Pierre Pronchery
parent 9c15c6cfbc
commit d4d6a73872

View File

@ -97,6 +97,9 @@ static Cpufreq * _cpufreq_init(PanelAppletHelper * helper, GtkWidget ** widget)
else if(sysctlbyname("machdep.powernow.frequency.available", &freq,
&freqsize, NULL, 0) == 0)
p = "machdep.powernow.frequency.current";
else if(sysctlbyname("machdep.frequency.available", &freq, &freqsize,
NULL, 0) == 0)
p = "machdep.frequency.current";
else
{
error_set("%s: %s", "cpufreq", _("No support detected"));