]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
input: Fix module drivers explicitly needing to include module.h
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 27 May 2011 13:12:25 +0000 (09:12 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 31 Jul 2011 08:05:38 +0000 (04:05 -0400)
These files are modules and so really need the full module.h header.
Call it out so some of the cleanups of implicit and unrequired
includes elsewhere can be cleaned up.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/input/input-compat.c
drivers/input/input-mt.c
drivers/input/input-polldev.c
drivers/input/sparse-keymap.c

index 1accb89ae66f29430065ad2bac1562871a86a53e..e46a86776a6bd247d47bd92dbbaa2e0c8657c9b7 100644 (file)
@@ -8,6 +8,7 @@
  * the Free Software Foundation.
  */
 
+#include <linux/export.h>
 #include <asm/uaccess.h>
 #include "input-compat.h"
 
index c48c81f0308dc8ff99c61a4c1291dabe52c12246..c79732af5ea2c9988a317b476252aa22bf98e6da 100644 (file)
@@ -9,6 +9,7 @@
  */
 
 #include <linux/input/mt.h>
+#include <linux/export.h>
 #include <linux/slab.h>
 
 #define TRKID_SGN      ((TRKID_MAX + 1) >> 1)
index b1aabde87523176f17ce0896e98403d4fda6f0a1..fef24bbcf41a2f8baf5a349ea9210592f58f9292 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/slab.h>
 #include <linux/mutex.h>
 #include <linux/workqueue.h>
+#include <linux/module.h>
 #include <linux/input-polldev.h>
 
 MODULE_AUTHOR("Dmitry Torokhov <dtor@mail.ru>");
index fdb6a3976f94cbfb821aa58841d3075afe08f50f..75fb040a3435c246b2077e96b5730f3d7030586b 100644 (file)
@@ -15,6 +15,7 @@
 
 #include <linux/input.h>
 #include <linux/input/sparse-keymap.h>
+#include <linux/module.h>
 #include <linux/slab.h>
 
 MODULE_AUTHOR("Dmitry Torokhov <dtor@mail.ru>");