hd: eliminate bad section references
PATCH 139/198 hd: eliminate bad section references
From: maximilian attems <[email protected]>
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 <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
25-akpm/drivers/ide/legacy/hd.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-)
drivers/ide/legacy/hd.c renamed from drivers/ide/legacy/hd.c~hd-eliminate-bad-section-references +1 -1
@@ -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);
_