From: Hanjun Guo Date: Tue, 13 Aug 2013 10:31:14 +0000 (+0800) Subject: ACPI / numa: Fix __init attribute location in slit_valid() X-Git-Tag: accepted/tizen/common/20141203.182822~1472^2~4^2~9^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=40e318563c3748fd5c6712d163e5d663af8b22ae;p=platform%2Fkernel%2Flinux-arm64.git ACPI / numa: Fix __init attribute location in slit_valid() __init belongs after the return type on functions, not before it. Signed-off-by: Hanjun Guo Signed-off-by: Rafael J. Wysocki --- diff --git a/drivers/acpi/numa.c b/drivers/acpi/numa.c index 33e609f..2e82e5d 100644 --- a/drivers/acpi/numa.c +++ b/drivers/acpi/numa.c @@ -159,7 +159,7 @@ acpi_table_print_srat_entry(struct acpi_subtable_header *header) * distance than the others. * Do some quick checks here and only use the SLIT if it passes. */ -static __init int slit_valid(struct acpi_table_slit *slit) +static int __init slit_valid(struct acpi_table_slit *slit) { int i, j; int d = slit->locality_count;