Browse Source

tty: Add export.h for EXPORT_SYMBOL/THIS_MODULE to exporters

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
0e648f42f2
2 changed files with 2 additions and 0 deletions
  1. 1 0
      drivers/tty/serial/nwpserial.c
  2. 1 0
      drivers/tty/vt/vc_screen.c

+ 1 - 0
drivers/tty/serial/nwpserial.c

@@ -10,6 +10,7 @@
  *
  */
 #include <linux/init.h>
+#include <linux/export.h>
 #include <linux/console.h>
 #include <linux/serial.h>
 #include <linux/serial_reg.h>

+ 1 - 0
drivers/tty/vt/vc_screen.c

@@ -22,6 +22,7 @@
 #include <linux/kernel.h>
 #include <linux/major.h>
 #include <linux/errno.h>
+#include <linux/export.h>
 #include <linux/tty.h>
 #include <linux/interrupt.h>
 #include <linux/mm.h>