提交 b775dce9 编写于 作者: A Axel Lin 提交者: Jonathan Cameron

rtc: hid-sensor-time: Add missing spin_lock_init

Signed-off-by: NAxel Lin <axel.lin@ingics.com>
Acked-by: NAlexander Holler <holler@ahsoftware.de>
Signed-off-by: NJonathan Cameron <jic23@kernel.org>
上级 df2e8f78
......@@ -225,6 +225,7 @@ static int hid_time_probe(struct platform_device *pdev)
platform_set_drvdata(pdev, time_state);
spin_lock_init(&time_state->lock_last_time);
init_completion(&time_state->comp_last_time);
time_state->common_attributes.hsdev = hsdev;
time_state->common_attributes.pdev = pdev;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册