twek evdev to compile

This commit is contained in:
James Sullins
2011-12-14 02:45:53 -06:00
parent 1f9ab073f5
commit 24304c3985

View File

@@ -346,6 +346,8 @@ static ssize_t evdev_write(struct file *file, const char __user *buffer,
struct input_event event; struct input_event event;
int retval; int retval;
retval = 0;
if (count < input_event_size()) if (count < input_event_size())
return -EINVAL; return -EINVAL;