Commit b775dce9 authored by Axel Lin's avatar Axel Lin Committed by Jonathan Cameron

rtc: hid-sensor-time: Add missing spin_lock_init

Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Acked-by: default avatarAlexander Holler <holler@ahsoftware.de>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment