From: Sam Ravnborg In latest -mm ide-code.o gave a number of warnings like the following: WARNING: drivers/ide/ide-core.o - Section mismatch: reference to \ .init.text: from .text between 'init_module' (at offset 0x1f97) and \ 'cleanup_module' The warning was caused by init_module() calling parse_option() and ide_init() both declared __init. Declaring init_module() __init fixes the warnings. Signed-off-by: Sam Ravnborg Cc: Bartlomiej Zolnierkiewicz Signed-off-by: Andrew Morton --- drivers/ide/ide.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/ide/ide.c~ide-fix-section-mismatch-warning drivers/ide/ide.c --- devel/drivers/ide/ide.c~ide-fix-section-mismatch-warning 2006-02-27 17:17:07.000000000 -0800 +++ devel-akpm/drivers/ide/ide.c 2006-02-27 17:17:07.000000000 -0800 @@ -2058,7 +2058,7 @@ static void __init parse_options (char * } } -int init_module (void) +int __init init_module (void) { parse_options(options); return ide_init(); _