2013-04-23 14:03:55 +00:00
|
|
|
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
|
2013-04-17 15:58:46 +00:00
|
|
|
@@ -1008,6 +1008,9 @@
|
2012-05-24 19:31:02 +00:00
|
|
|
if (error)
|
|
|
|
goto err_cleanup_evdev;
|
|
|
|
|
|
|
|
+ evdev_open_device(evdev);
|
|
|
|
+ dev_info(evdev, "%s\n", dev->name);
|
|
|
|
+
|
|
|
|
return 0;
|
|
|
|
|
|
|
|
err_cleanup_evdev:
|
2013-04-17 15:58:46 +00:00
|
|
|
@@ -1040,8 +1043,7 @@
|
2012-05-24 19:31:02 +00:00
|
|
|
MODULE_DEVICE_TABLE(input, evdev_ids);
|
|
|
|
|
|
|
|
static struct input_handler evdev_handler = {
|
|
|
|
- .event = evdev_event,
|
2013-04-17 15:58:46 +00:00
|
|
|
- .events = evdev_events,
|
2012-05-24 19:31:02 +00:00
|
|
|
+ .event = genode_evdev_event,
|
|
|
|
.connect = evdev_connect,
|
|
|
|
.disconnect = evdev_disconnect,
|
2013-04-17 15:58:46 +00:00
|
|
|
.legacy_minors = true,
|