Commit 18da5f32 authored by Jonathan Corbet's avatar Jonathan Corbet Committed by Greg Kroah-Hartman

[PATCH] cpufreq class fix

parent 55f3c6b7
......@@ -29,6 +29,7 @@ struct cpu {
};
extern int register_cpu(struct cpu *, int, struct node *);
extern struct class cpu_class;
/* Stop CPUs going up and down. */
extern struct semaphore cpucontrol;
......
......@@ -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,
};
......
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