ide section fixes
PATCH 1/1 ide section fixes
a) cleanup_module() should be __exit
b) externs should match reality
Signed-off-by Al Viro <[email protected]>
--- drivers/ide/ide.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-)
drivers/ide/ide.c +4 -4
@@ -1781,9 +1781,9 @@ done:return 1 ; } -extern void pnpide_init (void ); -extern void pnpide_exit (void ); -extern void h8300_ide_init (void ); +extern void __init pnpide_init (void ); +extern void __exit pnpide_exit(void); +extern void __init h8300_ide_init (void );/* * probe_for_hwifs() finds/initializes "known" IDE interfaces
@@ -2088,7 +2088,7 @@ int __init init_module (void)return ide_init (); } -void cleanup_module (void ) +void __exit cleanup_module (void) {int index;
Signature · 1 line
1.5.0-rc2.GIT
Bartlomiej Zolnierkiewicz
AppliedQuoted 5 lines · Al Viro
a)
cleanup_module()should be__exit
b) externs should match realitySigned-off-by Al Viro <[email protected]>
applied, thanks
Quoted 8 lines · Bartlomiej Zolnierkiewicz
Quoted 5 lines · Al Viro
a)
cleanup_module()should be__exit
b) externs should match realitySigned-off-by Al Viro <[email protected]>applied, thanks
hmm, Linus has already applied, great :)