Browse Source

drivers/char: Add export.h for EXPORT_SYMBOL/THIS_MODULE as required

They will need it called out explicitly in the near future due
to a module.h usage cleanup that removes its implicit presence
everywhere.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Paul Gortmaker 14 years ago
parent
commit
66300e66c6
2 changed files with 2 additions and 0 deletions
  1. 1 0
      drivers/char/mem.c
  2. 1 0
      drivers/char/ttyprintk.c

+ 1 - 0
drivers/char/mem.c

@@ -26,6 +26,7 @@
 #include <linux/bootmem.h>
 #include <linux/splice.h>
 #include <linux/pfn.h>
+#include <linux/export.h>
 
 #include <asm/uaccess.h>
 #include <asm/io.h>

+ 1 - 0
drivers/char/ttyprintk.c

@@ -17,6 +17,7 @@
 #include <linux/device.h>
 #include <linux/serial.h>
 #include <linux/tty.h>
+#include <linux/export.h>
 
 struct ttyprintk_port {
 	struct tty_port port;