mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-26 00:41:08 +00:00
29 lines
798 B
Diff
29 lines
798 B
Diff
commit a30968815ec1e4967a6c531744b2788f2c25e675
|
|
Author: Sebastian Sumpf <sebastian.sumpf@genode-labs.com>
|
|
Date: Mon Jun 2 13:25:03 2014 +0200
|
|
|
|
evdev.patch
|
|
|
|
--- a/drivers/input/evdev.c
|
|
+++ b/drivers/input/evdev.c
|
|
@@ -1168,6 +1168,9 @@ static int evdev_connect(struct input_handler *handler, struct input_dev *dev,
|
|
if (error)
|
|
goto err_cleanup_evdev;
|
|
|
|
+ evdev_open_device(evdev);
|
|
+ dev_info(evdev, "%s\n", dev->name);
|
|
+
|
|
return 0;
|
|
|
|
err_cleanup_evdev:
|
|
@@ -1200,8 +1203,7 @@ static const struct input_device_id evdev_ids[] = {
|
|
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,
|