summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorPatrick Mochel <mochel@osdl.org>2003-06-10 00:27:26 -0700
committerPatrick Mochel <mochel@osdl.org>2003-06-10 00:27:26 -0700
commit42ed4a84e267845d0af8eb39a8173f0ded151dc4 (patch)
tree479acb378ceb03c1b2d1a31e149094c00e991cdb /include/linux
parent52815e81f07afbad2f0f61b7a323abb2639e5992 (diff)
[cpu] Use sysdev.h instead of device.h and export cpu_sysdev_class
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/cpu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/cpu.h b/include/linux/cpu.h
index e9e7ebfd63d4..0975def4a2ba 100644
--- a/include/linux/cpu.h
+++ b/include/linux/cpu.h
@@ -19,7 +19,7 @@
#ifndef _LINUX_CPU_H_
#define _LINUX_CPU_H_
-#include <linux/device.h>
+#include <linux/sysdev.h>
#include <linux/node.h>
#include <asm/semaphore.h>
@@ -29,7 +29,7 @@ struct cpu {
};
extern int register_cpu(struct cpu *, int, struct node *);
-extern struct class cpu_class;
+extern struct sysdev_class cpu_sysdev_class;
/* Stop CPUs going up and down. */
extern struct semaphore cpucontrol;