aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/evdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/evdev.c')
-rw-r--r--drivers/input/evdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/evdev.c b/drivers/input/evdev.c
index ba325f16d077..5f561fce32d8 100644
--- a/drivers/input/evdev.c
+++ b/drivers/input/evdev.c
@@ -82,7 +82,7 @@ static int evdev_fasync(int fd, struct file *file, int on)
82 return retval < 0 ? retval : 0; 82 return retval < 0 ? retval : 0;
83} 83}
84 84
85static int evdev_flush(struct file * file) 85static int evdev_flush(struct file * file, fl_owner_t id)
86{ 86{
87 struct evdev_list *list = file->private_data; 87 struct evdev_list *list = file->private_data;
88 if (!list->evdev->exist) return -ENODEV; 88 if (!list->evdev->exist) return -ENODEV;