diff options
author | maximilian attems <janitor@sternwelten.at> | 2005-04-16 15:25:52 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 15:25:52 -0700 |
commit | fca44804508d544b0b9d9d85279e5eea778e4e32 (patch) | |
tree | e9639611c665ada6b209e0c51e4c580e10440cf8 /drivers | |
parent | ffbe5523a8e7f808681007aaea282da9a316a699 (diff) | |
download | op-kernel-dev-fca44804508d544b0b9d9d85279e5eea778e4e32.zip op-kernel-dev-fca44804508d544b0b9d9d85279e5eea778e4e32.tar.gz |
[PATCH] hd: eliminate bad section references
Fix hd section references:
make parse_hd_setup() __init
Error: ./drivers/ide/legacy/hd.o .text refers to 00000943 R_386_PC32
.init.text
Signed-off-by: maximilian attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/ide/legacy/hd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/legacy/hd.c b/drivers/ide/legacy/hd.c index c409055..e884cd4 100644 --- a/drivers/ide/legacy/hd.c +++ b/drivers/ide/legacy/hd.c @@ -851,7 +851,7 @@ Enomem: goto out; } -static int parse_hd_setup (char *line) { +static int __init parse_hd_setup (char *line) { int ints[6]; (void) get_options(line, ARRAY_SIZE(ints), ints); |