drivers/char: Add export.h for EXPORT_SYMBOL/THIS_MODULE as required
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 10 Jul 2011 16:14:53 +0000 (12:14 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 31 Oct 2011 23:31:41 +0000 (19:31 -0400)
They will need it called out explicitly in the near future due
to a module.h usage cleanup that removes its implicit presence
everywhere.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/char/mem.c
drivers/char/ttyprintk.c

index 8fc04b4f311f72c802a1df13af7108e3082a1b3f..1451790337160fb8c9fd6a5af935dea6b236f4ca 100644 (file)
@@ -26,6 +26,7 @@
 #include <linux/bootmem.h>
 #include <linux/splice.h>
 #include <linux/pfn.h>
+#include <linux/export.h>
 
 #include <asm/uaccess.h>
 #include <asm/io.h>
index a1f68af4ccf476b5e58dd3942c08337e55303d81..071003843f17ce6d232cd4130318d52a45028031 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/device.h>
 #include <linux/serial.h>
 #include <linux/tty.h>
+#include <linux/export.h>
 
 struct ttyprintk_port {
        struct tty_port port;