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>
Mon, 31 Oct 2011 23:31:28 +0000 (19:31 -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 9beaff1cec24dc024ac47bacf8d5bd944780ad79..dd4c31d1aee5d527198b36529524b319a90a4920 100644 (file)
@@ -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>
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>
This page took 0.025782 seconds and 5 git commands to generate.