mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2024-12-29 17:23:36 +00:00
[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:
parent
ffbe5523a8
commit
fca4480450
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user