]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
tty: Add export.h for EXPORT_SYMBOL/THIS_MODULE to exporters
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 27 May 2011 14:46:24 +0000 (10:46 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 31 Jul 2011 08:05:48 +0000 (04:05 -0400)
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>
drivers/tty/serial/nwpserial.c
drivers/tty/vt/vc_screen.c

index de173671e3d0fbe92dd036cb847b68b7c959f290..4fcea030ff365b19faf693c885f7a1fce4eeae95 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/tty.h>
 #include <linux/irqreturn.h>
 #include <linux/mutex.h>
+#include <linux/export.h>
 #include <linux/of_platform.h>
 #include <linux/of_device.h>
 #include <linux/nwpserial.h>
index 66825c9f516a2a871c5908d4d9da40aa48431270..7a367ff5122bad25b33277e464ecf575d0b13054 100644 (file)
@@ -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>