projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
027951e
)
ACPI / numa: Fix __init attribute location in slit_valid()
author
Hanjun Guo
<hanjun.guo@linaro.org>
Tue, 13 Aug 2013 10:31:14 +0000
(18:31 +0800)
committer
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Tue, 13 Aug 2013 10:35:42 +0000
(12:35 +0200)
__init belongs after the return type on functions, not before it.
Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/numa.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/acpi/numa.c
b/drivers/acpi/numa.c
index 33e609f6358580647412dd0d029f065fdfb73741..2e82e5d7693016676ad6afdf69ce3b553e968d44 100644
(file)
--- 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 in
t slit_valid(struct acpi_table_slit *slit)
+static
int __ini
t slit_valid(struct acpi_table_slit *slit)
{
int i, j;
int d = slit->locality_count;