提交 027951e5 编写于 作者: H Hanjun Guo 提交者: Rafael J. Wysocki

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: NHanjun Guo <hanjun.guo@linaro.org>
Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
上级 3e4376ff
......@@ -1055,7 +1055,7 @@ static int __init dock_add(acpi_handle handle)
*
* 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))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册