Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

[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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);