提交 eb797227 编写于 作者: A Al Viro 提交者: Linus Torvalds

[PATCH] ide section fixes

a) cleanup_module() should be __exit
b) externs should match reality
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 aaba6d4b
...@@ -1781,9 +1781,9 @@ static int __init ide_setup(char *s) ...@@ -1781,9 +1781,9 @@ static int __init ide_setup(char *s)
return 1; return 1;
} }
extern void pnpide_init(void); extern void __init pnpide_init(void);
extern void pnpide_exit(void); extern void __exit pnpide_exit(void);
extern void h8300_ide_init(void); extern void __init h8300_ide_init(void);
/* /*
* probe_for_hwifs() finds/initializes "known" IDE interfaces * probe_for_hwifs() finds/initializes "known" IDE interfaces
...@@ -2088,7 +2088,7 @@ int __init init_module (void) ...@@ -2088,7 +2088,7 @@ int __init init_module (void)
return ide_init(); return ide_init();
} }
void cleanup_module (void) void __exit cleanup_module (void)
{ {
int index; int index;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册