diff options
author | 2006-03-25 03:07:13 -0800 | |
---|---|---|
committer | 2006-03-25 08:22:53 -0800 | |
commit | 1efa64696bc55cc396eefa9838a90d106dfab6bf (patch) | |
tree | 493b70cd6b38b89598f899a4312edbff7d5d9f02 /include/asm-v850 | |
parent | [PATCH] ide: fix section mismatch warning (diff) | |
download | linux-1efa64696bc55cc396eefa9838a90d106dfab6bf.tar.gz linux-1efa64696bc55cc396eefa9838a90d106dfab6bf.tar.bz2 linux-1efa64696bc55cc396eefa9838a90d106dfab6bf.zip |
[PATCH] block/floppy: fix section mismatch warnings
In latest -mm a number of section mismatch warnings are generated for
floppy.o like the following:
WARNING: drivers/block/floppy.o - Section mismatch: reference to \
.init.data: from .text between 'init_module' (at offset 0x6976) and \
'cleanup_module'
The warning are caused by a reference to floppy_init() which is __init from
init_module() which is not declared __init. Declaring init_module() _init
fixes this.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-v850')
0 files changed, 0 insertions, 0 deletions