summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-05-03 00:55:34 -0400
committerDmitry Torokhov <dtor@insightbb.com>2007-05-03 00:55:34 -0400
commita830df367cc8cd802b45baed2449bea267727721 (patch)
treedb0ee53a38e8fcc824e03182b25e1cefdb4f3c0e
parent4ee1fc8e554593061a71d6af7c94f31764b87606 (diff)
downloadblackbird-op-linux-a830df367cc8cd802b45baed2449bea267727721.tar.gz
blackbird-op-linux-a830df367cc8cd802b45baed2449bea267727721.zip
Input: pull input.h into uinpit.h
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>
-rw-r--r--drivers/input/misc/uinput.c1
-rw-r--r--include/linux/uinput.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/drivers/input/misc/uinput.c b/drivers/input/misc/uinput.c
index 031467eadd31..a56ad4ba8fe2 100644
--- a/drivers/input/misc/uinput.c
+++ b/drivers/input/misc/uinput.c
@@ -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>
diff --git a/include/linux/uinput.h b/include/linux/uinput.h
index 1fd61eeed664..a6c1e8eed226 100644
--- a/include/linux/uinput.h
+++ b/include/linux/uinput.h
@@ -32,6 +32,8 @@
* - first public version
*/
+#include <linux/input.h>
+
#define UINPUT_VERSION 3
#ifdef __KERNEL__
OpenPOWER on IntegriCloud