mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-12-03 01:10:39 -05:00
drivers/char/ipmi/ipmi_si_intf.c: fix cleanup_one_si section mismatch
commit d2478521af ("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 <[email protected]>
Acked-by: Corey Minyard <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
5883f57ca0
commit
0dcf334c44
1 changed files with 1 additions and 1 deletions
|
|
@ -3521,7 +3521,7 @@ static void cleanup_one_si(struct smi_info *to_clean)
|
|||
kfree(to_clean);
|
||||
}
|
||||
|
||||
static void __exit cleanup_ipmi_si(void)
|
||||
static void cleanup_ipmi_si(void)
|
||||
{
|
||||
struct smi_info *e, *tmp_e;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue