diff options
author | Corey Minyard <cminyard@mvista.com> | 2010-10-27 18:34:18 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-27 21:03:13 -0400 |
commit | 60ee6d5faf5f7920ba88b82c072864596f5b88af (patch) | |
tree | d3d861b091073e863a4befcd25019f98944a3098 /drivers/char/ipmi/ipmi_msghandler.c | |
parent | 03145beb455cf5c20a761e8451e30b8a74ba58d9 (diff) |
ipmi: fix __init and __exit attribute locations
__init and __exit belong after the return type on functions, not
before.
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/ipmi/ipmi_msghandler.c')
-rw-r--r-- | drivers/char/ipmi/ipmi_msghandler.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/ipmi/ipmi_msghandler.c b/drivers/char/ipmi/ipmi_msghandler.c index 4f3f8c9ec262..2fe72f8edf44 100644 --- a/drivers/char/ipmi/ipmi_msghandler.c +++ b/drivers/char/ipmi/ipmi_msghandler.c | |||
@@ -4442,13 +4442,13 @@ static int ipmi_init_msghandler(void) | |||
4442 | return 0; | 4442 | return 0; |
4443 | } | 4443 | } |
4444 | 4444 | ||
4445 | static __init int ipmi_init_msghandler_mod(void) | 4445 | static int __init ipmi_init_msghandler_mod(void) |
4446 | { | 4446 | { |
4447 | ipmi_init_msghandler(); | 4447 | ipmi_init_msghandler(); |
4448 | return 0; | 4448 | return 0; |
4449 | } | 4449 | } |
4450 | 4450 | ||
4451 | static __exit void cleanup_ipmi(void) | 4451 | static void __exit cleanup_ipmi(void) |
4452 | { | 4452 | { |
4453 | int count; | 4453 | int count; |
4454 | 4454 | ||