aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-07-10 12:14:53 -0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-10-31 19:31:41 -0400
commit66300e66c680f7bcc43127627740f493ef0b05bc (patch)
tree8f0e92c40063be1edf6727e5e9b09adb9102b5c7
parentdrivers/char: Add module.h to those who were using it implicitly (diff)
downloadlinux-dev-66300e66c680f7bcc43127627740f493ef0b05bc.tar.xz
linux-dev-66300e66c680f7bcc43127627740f493ef0b05bc.zip
drivers/char: Add export.h for EXPORT_SYMBOL/THIS_MODULE as required
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>
-rw-r--r--drivers/char/mem.c1
-rw-r--r--drivers/char/ttyprintk.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/char/mem.c b/drivers/char/mem.c
index 8fc04b4f311f..145179033716 100644
--- a/drivers/char/mem.c
+++ b/drivers/char/mem.c
@@ -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>
diff --git a/drivers/char/ttyprintk.c b/drivers/char/ttyprintk.c
index a1f68af4ccf4..071003843f17 100644
--- a/drivers/char/ttyprintk.c
+++ b/drivers/char/ttyprintk.c
@@ -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;