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:
3e4376f
)
ACPI / dock: Fix __init attribute location in find_dock_and_bay()
author
Hanjun Guo
<hanjun.guo@linaro.org>
Tue, 13 Aug 2013 10:31:13 +0000
(18:31 +0800)
committer
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Tue, 13 Aug 2013 10:34:33 +0000
(12:34 +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/dock.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/acpi/dock.c
b/drivers/acpi/dock.c
index 826560753389ca3f1d2dd1bc2670f15f059970ae..c90112ceb5700f24ec33c2fe54addbbd134487ef 100644
(file)
--- a/
drivers/acpi/dock.c
+++ b/
drivers/acpi/dock.c
@@
-1055,7
+1055,7
@@
err_unregister:
*
* This is called by acpi_walk_namespace to look for dock stations and bays.
*/
-static
__init acpi_status
+static
acpi_status __init
find_dock_and_bay(acpi_handle handle, u32 lvl, void *context, void **rv)
{
if (is_dock(handle) || is_ejectable_bay(handle))