Skip to content

Commit

Permalink
[PATCH] hd: eliminate bad section references
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
maximilian attems authored and Linus Torvalds committed Apr 16, 2005
1 parent ffbe552 commit fca4480
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ide/legacy/hd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit fca4480

Please sign in to comment.