diff options
author | maximilian attems <janitor@sternwelten.at> | 2005-04-16 18:25:52 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:25:52 -0400 |
commit | fca44804508d544b0b9d9d85279e5eea778e4e32 (patch) | |
tree | e9639611c665ada6b209e0c51e4c580e10440cf8 /drivers/ide | |
parent | ffbe5523a8e7f808681007aaea282da9a316a699 (diff) |
[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/ide')
-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 c4090550ec13..e884cd4b22fd 100644 --- a/drivers/ide/legacy/hd.c +++ b/drivers/ide/legacy/hd.c | |||
@@ -851,7 +851,7 @@ Enomem: | |||
851 | goto out; | 851 | goto out; |
852 | } | 852 | } |
853 | 853 | ||
854 | static int parse_hd_setup (char *line) { | 854 | static int __init parse_hd_setup (char *line) { |
855 | int ints[6]; | 855 | int ints[6]; |
856 | 856 | ||
857 | (void) get_options(line, ARRAY_SIZE(ints), ints); | 857 | (void) get_options(line, ARRAY_SIZE(ints), ints); |