Browse Source

hid: Fix up files needing export.h for EXPORT_SYMBOL

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>
Paul Gortmaker 14 years ago
parent
commit
ec37d321b9
2 changed files with 2 additions and 0 deletions
  1. 1 0
      drivers/hid/hid-debug.c
  2. 1 0
      drivers/hid/usbhid/hid-quirks.c

+ 1 - 0
drivers/hid/hid-debug.c

@@ -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>

+ 1 - 0
drivers/hid/usbhid/hid-quirks.c

@@ -16,6 +16,7 @@
  */
 
 #include <linux/hid.h>
+#include <linux/export.h>
 #include <linux/slab.h>
 
 #include "../hid-ids.h"