mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2024-10-05 22:18:14 +03:00
7fb67ba1cc
No more poking into registers via /dev/mem. If there is no cpufreq support in the kernel, when trying to change the frequency a message will be printed on stderr that the required sysfs file cannot be opened.
7 lines
76 B
C
7 lines
76 B
C
#ifndef CPU_H
|
|
#define CPU_H
|
|
|
|
void jz_cpuspeed(unsigned clockspeed);
|
|
|
|
#endif
|