Commit 7420884c authored by Randy Dunlap's avatar Randy Dunlap Committed by Linus Torvalds
Browse files

[PATCH] IPMI: fix devinit placement



gcc complains about __devinit in the wrong location:
drivers/char/ipmi/ipmi_si_intf.c:2205: warning: '__section__' attribute does not apply to types
Signed-off-by: default avatarRandy Dunlap <rdunlap@xenotime.net>
Acked-by: default avatarCorey Minyard <cminyard@mvista.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 5e122271
...@@ -2198,11 +2198,11 @@ static inline void wait_for_timer_and_thread(struct smi_info *smi_info) ...@@ -2198,11 +2198,11 @@ static inline void wait_for_timer_and_thread(struct smi_info *smi_info)
} }
} }
static struct ipmi_default_vals static __devinitdata struct ipmi_default_vals
{ {
int type; int type;
int port; int port;
} __devinit ipmi_defaults[] = } ipmi_defaults[] =
{ {
{ .type = SI_KCS, .port = 0xca2 }, { .type = SI_KCS, .port = 0xca2 },
{ .type = SI_SMIC, .port = 0xca9 }, { .type = SI_SMIC, .port = 0xca9 },
......
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