aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/evdev/evdev.c
diff options
context:
space:
mode:
authorVladimir Kondratyev <wulf@FreeBSD.org>2020-04-13 22:06:28 +0000
committerVladimir Kondratyev <wulf@FreeBSD.org>2020-04-13 22:06:28 +0000
commit68cc053763eec2f2afef8de8a12f6786805c9e24 (patch)
tree7dfcfc59f11891c37566654426b30d6c3d512b50 /sys/dev/evdev/evdev.c
parent862ac3b74a5da2b1cdf03e72aa1b3fa5a0258d7a (diff)
Notes
Diffstat (limited to 'sys/dev/evdev/evdev.c')
-rw-r--r--sys/dev/evdev/evdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/evdev/evdev.c b/sys/dev/evdev/evdev.c
index 4a79e7276d007..6c087c32a00dd 100644
--- a/sys/dev/evdev/evdev.c
+++ b/sys/dev/evdev/evdev.c
@@ -295,7 +295,7 @@ evdev_register_common(struct evdev_dev *evdev)
if (evdev_event_supported(evdev, EV_REP) &&
bit_test(evdev->ev_flags, EVDEV_FLAG_SOFTREPEAT)) {
/* Initialize callout */
- callout_init_mtx(&evdev->ev_rep_callout, &evdev->ev_mtx, 0);
+ callout_init_mtx(&evdev->ev_rep_callout, evdev->ev_lock, 0);
if (evdev->ev_rep[REP_DELAY] == 0 &&
evdev->ev_rep[REP_PERIOD] == 0) {