Commit fca44804 authored by maximilian attems's avatar maximilian attems Committed by Linus Torvalds

[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: default avatarmaximilian attems <janitor@sternwelten.at>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent ffbe5523
......@@ -851,7 +851,7 @@ static int __init hd_init(void)
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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment