OSDN Git Service

Input: pull input.h into uinpit.h
authorMike Frysinger <vapier@gentoo.org>
Thu, 3 May 2007 04:55:34 +0000 (00:55 -0400)
committerDmitry Torokhov <dtor@insightbb.com>
Thu, 3 May 2007 04:55:34 +0000 (00:55 -0400)
uinput.h relies on structures found in input.h, so pull in the header

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/misc/uinput.c
include/linux/uinput.h

index 031467e..a56ad4b 100644 (file)
@@ -33,7 +33,6 @@
 #include <linux/slab.h>
 #include <linux/module.h>
 #include <linux/init.h>
-#include <linux/input.h>
 #include <linux/smp_lock.h>
 #include <linux/fs.h>
 #include <linux/miscdevice.h>
index 1fd61ee..a6c1e8e 100644 (file)
@@ -32,6 +32,8 @@
  *             - first public version
  */
 
+#include <linux/input.h>
+
 #define UINPUT_VERSION         3
 
 #ifdef __KERNEL__