[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>
This commit is contained in:
maximilian attems 2005-04-16 15:25:52 -07:00 committed by Linus Torvalds
parent ffbe5523a8
commit fca4480450
1 changed files with 1 additions and 1 deletions

View File

@ -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);