Linux v4.14-4050-g37cb8e1f8e10
This commit is contained in:
parent
2ef4e8028f
commit
e1d147112d
40 changed files with 296 additions and 11 deletions
|
|
@ -205,17 +205,17 @@ index a65cf544686a..863f77582c09 100644
|
|||
|
||||
#include <linux/pfn.h>
|
||||
diff --git a/drivers/input/misc/uinput.c b/drivers/input/misc/uinput.c
|
||||
index 443151de90c6..45a1f5460805 100644
|
||||
index 39ddd9a73feb..0afeef1672bc 100644
|
||||
--- a/drivers/input/misc/uinput.c
|
||||
+++ b/drivers/input/misc/uinput.c
|
||||
@@ -408,6 +408,7 @@ static int uinput_allocate_device(struct uinput_device *udev)
|
||||
if (!udev->dev)
|
||||
return -ENOMEM;
|
||||
|
||||
+ udev->dev->flags |= INPUTDEV_FLAGS_SYNTHETIC;
|
||||
udev->dev->event = uinput_dev_event;
|
||||
@@ -362,6 +362,7 @@ static int uinput_create_device(struct uinput_device *udev)
|
||||
dev->flush = uinput_dev_flush;
|
||||
}
|
||||
|
||||
+ dev->flags |= INPUTDEV_FLAGS_SYNTHETIC;
|
||||
dev->event = uinput_dev_event;
|
||||
|
||||
input_set_drvdata(udev->dev, udev);
|
||||
|
||||
diff --git a/drivers/tty/sysrq.c b/drivers/tty/sysrq.c
|
||||
index 3ffc1ce29023..8b766dbad6dd 100644
|
||||
--- a/drivers/tty/sysrq.c
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue