aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/dock.c
diff options
context:
space:
mode:
authorHanjun Guo <hanjun.guo@linaro.org>2013-08-13 06:31:13 -0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-08-13 06:34:33 -0400
commit027951e5650eefffa4d9fffad561468ea77ededa (patch)
tree28e9c54c5f0def0b49fd9c65857605fe3bbcfce1 /drivers/acpi/dock.c
parent3e4376ffcec8e51091bd8ea54da8323e7b912971 (diff)
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:
1055 * 1055 *
1056 * This is called by acpi_walk_namespace to look for dock stations and bays. 1056 * This is called by acpi_walk_namespace to look for dock stations and bays.
1057 */ 1057 */
1058static __init acpi_status 1058static acpi_status __init
1059find_dock_and_bay(acpi_handle handle, u32 lvl, void *context, void **rv) 1059find_dock_and_bay(acpi_handle handle, u32 lvl, void *context, void **rv)
1060{ 1060{
1061 if (is_dock(handle) || is_ejectable_bay(handle)) 1061 if (is_dock(handle) || is_ejectable_bay(handle))