From: Neil Horman <nhorman@redhat.com>
To: "Giacomo A. Catenazzi" <cate@debian.org>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [Patch] ipmi: Compiler error in last git kernel [drivers/char/ipmi/ipmi_devintf.c]
Date: Tue, 24 May 2005 15:01:07 -0400 [thread overview]
Message-ID: <20050524190107.GH17607@hmsendeavour.rdu.redhat.com> (raw)
In-Reply-To: <42935D89.90603@debian.org>
Heres the fix. Looks pretty straight forward
Signed-off-by: Neil Horman <nhorman@redhat.com>
ipmi_devintf.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
--- linux-2.6.git/drivers/char/ipmi/ipmi_devintf.c.buildbreak 2005-05-24 14:40:58.000000000 -0400
+++ linux-2.6.git/drivers/char/ipmi/ipmi_devintf.c 2005-05-24 14:48:45.000000000 -0400
@@ -520,7 +520,7 @@ MODULE_PARM_DESC(ipmi_major, "Sets the m
" interface. Other values will set the major device number"
" to that value.");
-static struct class *ipmi_class;
+static struct class_simple *ipmi_class;
static void ipmi_new_smi(int if_num)
{
@@ -534,7 +534,7 @@ static void ipmi_new_smi(int if_num)
static void ipmi_smi_gone(int if_num)
{
- class_simple_device_remove(ipmi_class, MKDEV(ipmi_major, if_num));
+ class_simple_device_remove(MKDEV(ipmi_major, if_num));
devfs_remove("ipmidev/%d", if_num);
}
--
/***************************************************
*Neil Horman
*Software Engineer
*Red Hat, Inc.
*nhorman@redhat.com
*gpg keyid: 1024D / 0x92A74FA1
*http://pgp.mit.edu
***************************************************/
prev parent reply other threads:[~2005-05-24 19:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-24 16:59 Giacomo A. Catenazzi
2005-05-24 19:01 ` Neil Horman [this message]
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=20050524190107.GH17607@hmsendeavour.rdu.redhat.com \
--to=nhorman@redhat.com \
--cc=cate@debian.org \
--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
all inboxes | Powered by JetHome®