From: Greg KH <greg@kroah.com>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] Driver core changes for 2.5.69
Date: Fri, 9 May 2003 16:53:46 -0700 [thread overview]
Message-ID: <20030509235346.GA3517@kroah.com> (raw)
In-Reply-To: <20030509235142.GA3506@kroah.com>
ChangeSet 1.1096, 2003/05/09 16:25:57-07:00, corbet@lwn.net
[PATCH] cpufreq class fix
include/linux/cpu.h | 1 +
kernel/cpufreq.c | 2 ++
2 files changed, 3 insertions(+)
diff -Nru a/include/linux/cpu.h b/include/linux/cpu.h
--- a/include/linux/cpu.h Fri May 9 16:40:39 2003
+++ b/include/linux/cpu.h Fri May 9 16:40:39 2003
@@ -29,6 +29,7 @@
};
extern int register_cpu(struct cpu *, int, struct node *);
+extern struct class cpu_class;
/* Stop CPUs going up and down. */
extern struct semaphore cpucontrol;
diff -Nru a/kernel/cpufreq.c b/kernel/cpufreq.c
--- a/kernel/cpufreq.c Fri May 9 16:40:39 2003
+++ b/kernel/cpufreq.c Fri May 9 16:40:39 2003
@@ -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 @@
extern struct device_class cpu_devclass;
static struct class_interface cpufreq_interface = {
+ .class = &cpu_class,
.add = &cpufreq_add_dev,
.remove = &cpufreq_remove_dev,
};
next prev parent reply other threads:[~2003-05-09 23:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-09 23:51 [BK PATCH] Driver core changes for 2.5.69 Greg KH
2003-05-09 23:53 ` Greg KH [this message]
2003-05-09 23:53 ` [PATCH] " Greg KH
2003-05-09 23:54 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030509235346.GA3517@kroah.com \
--to=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox