Commit a31d5068 authored by Dave Jones's avatar Dave Jones

[CPUFREQ] More typos.

parent 41a47e64
...@@ -35,7 +35,7 @@ Contents: ...@@ -35,7 +35,7 @@ Contents:
So, you just got a brand-new CPU / chipset with datasheets and want to So, you just got a brand-new CPU / chipset with datasheets and want to
add cpufreq support for this CPU / chipset? Great. Here are some hints add cpufreq support for this CPU / chipset? Great. Here are some hints
on what is neccessary: on what is necessary:
1.1 Initialization 1.1 Initialization
...@@ -54,7 +54,7 @@ cpufreq_driver.name - The name of this driver. ...@@ -54,7 +54,7 @@ cpufreq_driver.name - The name of this driver.
cpufreq_driver.init - A pointer to the per-CPU initialization cpufreq_driver.init - A pointer to the per-CPU initialization
function. function.
cpufreq_driver.verify - A pointer to a "verfication" funciton. cpufreq_driver.verify - A pointer to a "verification" funciton.
cpufreq_driver.setpolicy _or_ cpufreq_driver.setpolicy _or_
cpufreq_driver.target - See below on the differences. cpufreq_driver.target - See below on the differences.
...@@ -72,7 +72,7 @@ cpufreq_driver.attr - A pointer to a NULL-terminated list of ...@@ -72,7 +72,7 @@ cpufreq_driver.attr - A pointer to a NULL-terminated list of
-------------------------- --------------------------
Whenever a new CPU is registered with the device model, or after the Whenever a new CPU is registered with the device model, or after the
cpufreq driver registers itself, the per-CPU initialization fucntion cpufreq driver registers itself, the per-CPU initialization function
cpufreq_driver.init is called. It takes a struct cpufreq_policy cpufreq_driver.init is called. It takes a struct cpufreq_policy
*policy as argument. What to do now? *policy as argument. What to do now?
...@@ -94,7 +94,7 @@ policy->cur The current operating frequency of ...@@ -94,7 +94,7 @@ policy->cur The current operating frequency of
this CPU (if appropriate) this CPU (if appropriate)
policy->min, policy->min,
policy->max, policy->max,
policy->policy and, if neccessary, policy->policy and, if necessary,
policy->governor must contain the "default policy" for policy->governor must contain the "default policy" for
this CPU. A few moments later, this CPU. A few moments later,
cpufreq_driver.verify and either cpufreq_driver.verify and either
......
...@@ -98,7 +98,7 @@ scaling_max_freq. ...@@ -98,7 +98,7 @@ scaling_max_freq.
------------- -------------
The CPUfreq governor "userspace" allows the user, or any userspace The CPUfreq governor "userspace" allows the user, or any userspace
program running with UID "root", to set the CPU to a specifc frequency program running with UID "root", to set the CPU to a specific frequency
by making a sysfs file "scaling_setspeed" available in the CPU-device by making a sysfs file "scaling_setspeed" available in the CPU-device
directory. directory.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment