aboutsummaryrefslogtreecommitdiff
path: root/drivers/ide
diff options
context:
space:
mode:
authormaximilian attems <janitor@sternwelten.at>2005-04-16 15:25:52 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 15:25:52 -0700
commitfca44804508d544b0b9d9d85279e5eea778e4e32 (patch)
treee9639611c665ada6b209e0c51e4c580e10440cf8 /drivers/ide
parentffbe5523a8e7f808681007aaea282da9a316a699 (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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/legacy/hd.c b/drivers/ide/legacy/hd.c
index c4090550ec1..e884cd4b22f 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);