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>
Mon, 31 Oct 2011 23:31:18 +0000 (19:31 -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/usbhid/hid-quirks.c

index 9a243ca96e6db8fbb754b34e16e8c508ee289eab..ee80d733801d30cc4abe2d5909e682835013b551 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 4ea464151c3be0d53de577b0aec833136a5d85b5..5028d60a22a19b6b69cd1c942728f350d40744b7 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #include <linux/hid.h>
+#include <linux/export.h>
 #include <linux/slab.h>
 
 #include "../hid-ids.h"