]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
hid: Fix up files needing export.h for EXPORT_SYMBOL
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 27 May 2011 14:25:27 +0000 (10:25 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 31 Jul 2011 08:05:39 +0000 (04:05 -0400)
With module.h being implicitly everywhere via device.h, the absence
of explicitly including something for EXPORT_SYMBOL went unnoticed.
Since we are heading to fix things up and clean module.h from the
device.h file, we need to explicitly include these files now.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/hid/hid-debug.c
drivers/hid/hid-pl.c
drivers/hid/usbhid/hid-quirks.c

index bae48745bb4281da2d77ee429882fa52093e60e2..acf2bdb5fa924a5d4f08cce49d64ed2e89855a06 100644 (file)
@@ -31,6 +31,7 @@
 #include <linux/debugfs.h>
 #include <linux/seq_file.h>
 #include <linux/sched.h>
+#include <linux/export.h>
 #include <linux/slab.h>
 #include <linux/uaccess.h>
 #include <linux/poll.h>
index 06e5300d43d2945ce9bf644d421bb1f3f8c0ac9c..070f93a5c11b38ce36501594dba191bcc7354369 100644 (file)
@@ -40,6 +40,7 @@
 
 #include <linux/input.h>
 #include <linux/slab.h>
+#include <linux/module.h>
 #include <linux/usb.h>
 #include <linux/hid.h>
 
index 621959d5cc42c6b6798328fe32ce32072fa8669a..8a9a9349814a4994900e9f330bd9e81533168737 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #include <linux/hid.h>
+#include <linux/export.h>
 #include <linux/slab.h>
 
 #include "../hid-ids.h"