summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/dock.c
diff options
context:
space:
mode:
authorHanjun Guo <hanjun.guo@linaro.org>2013-08-13 18:31:13 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-08-13 12:34:33 +0200
commit027951e5650eefffa4d9fffad561468ea77ededa (patch)
tree28e9c54c5f0def0b49fd9c65857605fe3bbcfce1 /drivers/acpi/dock.c
parent3e4376ffcec8e51091bd8ea54da8323e7b912971 (diff)
downloadlinux-027951e5650eefffa4d9fffad561468ea77ededa.tar.gz
linux-027951e5650eefffa4d9fffad561468ea77ededa.tar.bz2
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.c2
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))