diff options
author | Hanjun Guo <hanjun.guo@linaro.org> | 2013-08-13 12:31:13 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-08-13 12:34:33 +0200 |
commit | 027951e5650eefffa4d9fffad561468ea77ededa (patch) | |
tree | 28e9c54c5f0def0b49fd9c65857605fe3bbcfce1 /drivers/acpi/dock.c | |
parent | ACPI / Sleep: Fix incorrect placement of __initdata (diff) | |
download | linux-027951e5650eefffa4d9fffad561468ea77ededa.tar.xz linux-027951e5650eefffa4d9fffad561468ea77ededa.zip |
ACPI / dock: Fix __init attribute location in find_dock_and_bay()
__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>
Diffstat (limited to 'drivers/acpi/dock.c')
-rw-r--r-- | drivers/acpi/dock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/dock.c b/drivers/acpi/dock.c index 826560753389..c90112ceb570 100644 --- 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)) |