summaryrefslogtreecommitdiff
path: root/drivers/input/evdev.c
diff options
context:
space:
mode:
authorMartin KaFai Lau <martin.lau@kernel.org>2025-08-12 02:15:41 +0300
committerMartin KaFai Lau <martin.lau@kernel.org>2025-08-12 22:14:02 +0300
commit9e293d47bfb9e812196670f2deeefc8b9d0226e4 (patch)
treea5f74c41abbd25749bf795f52e4e06c39ab7d102 /drivers/input/evdev.c
parentfa479132845e94b60068fad01c2a9979b3efe2dc (diff)
parent8f5ae30d69d7543eee0d70083daf4de8fe15d585 (diff)
downloadlinux-9e293d47bfb9e812196670f2deeefc8b9d0226e4.tar.xz
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf
Cross merge bpf/master after 6.17-rc1. No conflict. Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'drivers/input/evdev.c')
-rw-r--r--drivers/input/evdev.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/input/evdev.c b/drivers/input/evdev.c
index b5cbb57ee5f6..90ff6be85cf4 100644
--- a/drivers/input/evdev.c
+++ b/drivers/input/evdev.c
@@ -1408,8 +1408,12 @@ static void evdev_disconnect(struct input_handle *handle)
}
static const struct input_device_id evdev_ids[] = {
- { .driver_info = 1 }, /* Matches all devices */
- { }, /* Terminating zero entry */
+ {
+ /* Matches all devices */
+ .flags = INPUT_DEVICE_ID_MATCH_EVBIT,
+ .evbit = { BIT_MASK(EV_SYN) },
+ },
+ { } /* Terminating zero entry */
};
MODULE_DEVICE_TABLE(input, evdev_ids);