diff options
author | Randy Dunlap <rdunlap@xenotime.net> | 2006-06-25 08:48:38 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-25 13:01:16 -0400 |
commit | cad2af5eb7470f9a0b85498f5ffac894e3cdcd27 (patch) | |
tree | 7a713090a1d573d2151a6095d9e00b71d6112cb0 /drivers/cdrom | |
parent | 474ab45a1f7de888df63da86b46785fe19d7fbe7 (diff) |
[PATCH] cdrom/mcdx: section fixes
Priority: not critical.
Make __mcdx_init() __init and static. Saves a little memory.
Fix section mismatch warning and make the function static while there:
WARNING: drivers/cdrom/mcdx.o - Section mismatch: reference to .init.text: from .text between 'init_module' (at offset 0x8be) and 'mcdx_transfer'
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Cc: Jens Axboe <axboe@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/cdrom')
-rw-r--r-- | drivers/cdrom/mcdx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cdrom/mcdx.c b/drivers/cdrom/mcdx.c index a0b580c22d80..0f6e7aab8d2c 100644 --- a/drivers/cdrom/mcdx.c +++ b/drivers/cdrom/mcdx.c | |||
@@ -1006,7 +1006,7 @@ static int mcdx_talk(struct s_drive_stuff *stuffp, | |||
1006 | 1006 | ||
1007 | /* MODULE STUFF ***********************************************************/ | 1007 | /* MODULE STUFF ***********************************************************/ |
1008 | 1008 | ||
1009 | int __mcdx_init(void) | 1009 | static int __init __mcdx_init(void) |
1010 | { | 1010 | { |
1011 | int i; | 1011 | int i; |
1012 | int drives = 0; | 1012 | int drives = 0; |