aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authormaximilian attems <janitor@sternwelten.at>2005-04-16 18:25:52 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:25:52 -0400
commitfca44804508d544b0b9d9d85279e5eea778e4e32 (patch)
treee9639611c665ada6b209e0c51e4c580e10440cf8 /drivers
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')
-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 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
854static int parse_hd_setup (char *line) { 854static 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);