diff options
| author | Jonathan Corbet <corbet@lwn.net> | 2003-05-09 02:25:57 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <greg@kroah.com> | 2003-05-09 02:25:57 -0700 |
| commit | 18da5f3242aacf697e0a546d5af4dc70d5c181bf (patch) | |
| tree | e6ab8ec0e97f3b86902f550b13ef3eceae5ac1a9 /kernel | |
| parent | 55f3c6b7f64b96b5826f513a23b7d75da69bdd7a (diff) | |
[PATCH] cpufreq class fix
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/cpufreq.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/cpufreq.c b/kernel/cpufreq.c index f548aead6a9d..913e6b0f56fb 100644 --- a/kernel/cpufreq.c +++ b/kernel/cpufreq.c @@ -22,6 +22,7 @@ #include <linux/spinlock.h> #include <linux/device.h> #include <linux/slab.h> +#include <linux/cpu.h> /** * The "cpufreq driver" - the arch- or hardware-dependend low @@ -115,6 +116,7 @@ static void cpufreq_remove_dev (struct class_device * dev); extern struct device_class cpu_devclass; static struct class_interface cpufreq_interface = { + .class = &cpu_class, .add = &cpufreq_add_dev, .remove = &cpufreq_remove_dev, }; |
