summaryrefslogtreecommitdiffstats
path: root/drivers/char
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 /drivers/char
parentc22405c98d3ff7042e369370d2bf54f9607d0f09 (diff)
downloadop-kernel-dev-66300e66c680f7bcc43127627740f493ef0b05bc.zip
op-kernel-dev-66300e66c680f7bcc43127627740f493ef0b05bc.tar.gz
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>
Diffstat (limited to 'drivers/char')
-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 8fc04b4..1451790 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 a1f68af..0710038 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;
OpenPOWER on IntegriCloud