Skip to content

Commit

Permalink
[PATCH] ide section fixes
Browse files Browse the repository at this point in the history
a) cleanup_module() should be __exit
b) externs should match reality

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Al Viro authored and Linus Torvalds committed Feb 2, 2007
1 parent aaba6d4 commit eb79722
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/ide/ide.c
Original file line number Diff line number Diff line change
Expand Up @@ -1781,9 +1781,9 @@ static int __init ide_setup(char *s)
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
Expand Down Expand Up @@ -2088,7 +2088,7 @@ int __init init_module (void)
return ide_init();
}

void cleanup_module (void)
void __exit cleanup_module (void)
{
int index;

Expand Down

0 comments on commit eb79722

Please sign in to comment.