From 66300e66c680f7bcc43127627740f493ef0b05bc Mon Sep 17 00:00:00 2001 From: Paul Gortmaker <paul.gortmaker@windriver.com> Date: Sun, 10 Jul 2011 12:14:53 -0400 Subject: 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> --- drivers/char/mem.c | 1 + drivers/char/ttyprintk.c | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/char/mem.c b/drivers/char/mem.c index 8fc04b4f311..14517903371 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 a1f68af4ccf..071003843f1 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; -- cgit v1.2.3-18-g5258