aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2007-02-01 08:52:38 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-01 19:17:06 -0500
commiteb7972271720bfc64dc8bacc5b15f874c0bcc859 (patch)
tree043945898426a305044b4624bb067b69ae03ebb2 /drivers
parentaaba6d4bf6f2a52a0c30ad1da4374ba24bd7163b (diff)
[PATCH] ide section fixes
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ide/ide.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/ide/ide.c b/drivers/ide/ide.c
index 3b334af0c7b9..6c9bd5165bdb 100644
--- a/drivers/ide/ide.c
+++ b/drivers/ide/ide.c
@@ -1781,9 +1781,9 @@ done:
1781 return 1; 1781 return 1;
1782} 1782}
1783 1783
1784extern void pnpide_init(void); 1784extern void __init pnpide_init(void);
1785extern void pnpide_exit(void); 1785extern void __exit pnpide_exit(void);
1786extern void h8300_ide_init(void); 1786extern void __init h8300_ide_init(void);
1787 1787
1788/* 1788/*
1789 * probe_for_hwifs() finds/initializes "known" IDE interfaces 1789 * probe_for_hwifs() finds/initializes "known" IDE interfaces
@@ -2088,7 +2088,7 @@ int __init init_module (void)
2088 return ide_init(); 2088 return ide_init();
2089} 2089}
2090 2090
2091void cleanup_module (void) 2091void __exit cleanup_module (void)
2092{ 2092{
2093 int index; 2093 int index;
2094 2094