diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-05-27 10:46:24 -0400 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-10-31 19:31:28 -0400 |
commit | 0e648f42f24f89e24c4dcac534d8e7086c9fd559 (patch) | |
tree | 0d9e67bc3a3cbc93655249bb4477a3f68299a5b7 | |
parent | 578b9ce0095ff3dd2c3b94508407c3be8fcce68d (diff) |
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>
-rw-r--r-- | drivers/tty/serial/nwpserial.c | 1 | ||||
-rw-r--r-- | drivers/tty/vt/vc_screen.c | 1 |
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 @@ | |||
10 | * | 10 | * |
11 | */ | 11 | */ |
12 | #include <linux/init.h> | 12 | #include <linux/init.h> |
13 | #include <linux/export.h> | ||
13 | #include <linux/console.h> | 14 | #include <linux/console.h> |
14 | #include <linux/serial.h> | 15 | #include <linux/serial.h> |
15 | #include <linux/serial_reg.h> | 16 | #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 @@ | |||
22 | #include <linux/kernel.h> | 22 | #include <linux/kernel.h> |
23 | #include <linux/major.h> | 23 | #include <linux/major.h> |
24 | #include <linux/errno.h> | 24 | #include <linux/errno.h> |
25 | #include <linux/export.h> | ||
25 | #include <linux/tty.h> | 26 | #include <linux/tty.h> |
26 | #include <linux/interrupt.h> | 27 | #include <linux/interrupt.h> |
27 | #include <linux/mm.h> | 28 | #include <linux/mm.h> |