genode/repos/dde_linux/patches/evdev.patch
Norman Feske ca971bbfd8 Move repositories to 'repos/' subdirectory
This patch changes the top-level directory layout as a preparatory
step for improving the tools for managing 3rd-party source codes.
The rationale is described in the issue referenced below.

Issue #1082
2014-05-14 16:08:00 +02:00

24 lines
610 B
Diff

diff -r 2949c3919d29 drivers/input/evdev.c
--- a/drivers/input/evdev.c Mon Apr 22 16:19:56 2013 +0200
+++ b/drivers/input/evdev.c Mon Apr 22 16:20:32 2013 +0200
@@ -1008,6 +1008,9 @@
if (error)
goto err_cleanup_evdev;
+ evdev_open_device(evdev);
+ dev_info(evdev, "%s\n", dev->name);
+
return 0;
err_cleanup_evdev:
@@ -1040,8 +1043,7 @@
MODULE_DEVICE_TABLE(input, evdev_ids);
static struct input_handler evdev_handler = {
- .event = evdev_event,
- .events = evdev_events,
+ .event = genode_evdev_event,
.connect = evdev_connect,
.disconnect = evdev_disconnect,
.legacy_minors = true,