diff options
author | Sergey Senozhatsky <sergey.senozhatsky@gmail.com> | 2011-03-23 19:42:54 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-03-23 22:46:38 -0400 |
commit | 0dcf334c44d99cd08515f4fc5cc9075abd92b2ff (patch) | |
tree | c0bdffa37435f5a0aec884dcf598bfab0f11149c /drivers/char/ipmi | |
parent | 5883f57ca0008ffc93e09cbb9847a1928e50c6f3 (diff) |
drivers/char/ipmi/ipmi_si_intf.c: fix cleanup_one_si section mismatch
commit d2478521afc2022 ("char/ipmi: fix OOPS caused by
pnp_unregister_driver on unregistered driver") introduced a section
mismatch by calling __exit cleanup_ipmi_si from __devinit init_ipmi_si.
Remove __exit annotation from cleanup_ipmi_si.
Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Acked-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')
-rw-r--r-- | drivers/char/ipmi/ipmi_si_intf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c index c86d43b88e1e..d28b484aee45 100644 --- a/drivers/char/ipmi/ipmi_si_intf.c +++ b/drivers/char/ipmi/ipmi_si_intf.c | |||
@@ -3521,7 +3521,7 @@ static void cleanup_one_si(struct smi_info *to_clean) | |||
3521 | kfree(to_clean); | 3521 | kfree(to_clean); |
3522 | } | 3522 | } |
3523 | 3523 | ||
3524 | static void __exit cleanup_ipmi_si(void) | 3524 | static void cleanup_ipmi_si(void) |
3525 | { | 3525 | { |
3526 | struct smi_info *e, *tmp_e; | 3526 | struct smi_info *e, *tmp_e; |
3527 | 3527 | ||