Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dca79a04 authored by Neil Horman's avatar Neil Horman Committed by Linus Torvalds
Browse files

[PATCH] ipmi build fix



It looks like the recent IPMI patches had some -mm-onlyisms.

Signed-off-by: default avatarNeil Horman <nhorman@redhat.com>
Cc: Corey Minyard <minyard@acm.org>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 5daf05fb
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -520,7 +520,7 @@ MODULE_PARM_DESC(ipmi_major, "Sets the major number of the IPMI device. By"
		 " 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);
}