summaryrefslogtreecommitdiffstats
path: root/drivers/tty
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-05-27 10:46:24 -0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-10-31 19:31:28 -0400
commit0e648f42f24f89e24c4dcac534d8e7086c9fd559 (patch)
tree0d9e67bc3a3cbc93655249bb4477a3f68299a5b7 /drivers/tty
parent578b9ce0095ff3dd2c3b94508407c3be8fcce68d (diff)
downloadlinux-0e648f42f24f89e24c4dcac534d8e7086c9fd559.tar.gz
linux-0e648f42f24f89e24c4dcac534d8e7086c9fd559.tar.bz2
linux-0e648f42f24f89e24c4dcac534d8e7086c9fd559.zip
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>
Diffstat (limited to 'drivers/tty')
-rw-r--r--drivers/tty/serial/nwpserial.c1
-rw-r--r--drivers/tty/vt/vc_screen.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/tty/serial/nwpserial.c b/drivers/tty/serial/nwpserial.c
index 9beaff1cec24..dd4c31d1aee5 100644
--- a/drivers/tty/serial/nwpserial.c
+++ b/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>
diff --git a/drivers/tty/vt/vc_screen.c b/drivers/tty/vt/vc_screen.c
index 66825c9f516a..7a367ff5122b 100644
--- a/drivers/tty/vt/vc_screen.c
+++ b/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>