提交 fca44804 编写于 作者: M maximilian attems 提交者: 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: Nmaximilian attems <janitor@sternwelten.at>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册