summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Salomon <dilinger@debian.org>2008-09-14 17:31:29 -0400
committerAndres Salomon <dilinger@debian.org>2008-09-14 17:31:29 -0400
commit73cd160716c8686c8bf399514282e083cb8f4168 (patch)
treeb30f0d9e8c4335b6c9b62e34806de1399f3267c9
parentd76ed0ecb6d45c4bcd410683c4e4ed9901d4166f (diff)
downloadlwn-73cd160716c8686c8bf399514282e083cb8f4168.tar.gz
lwn-73cd160716c8686c8bf399514282e083cb8f4168.zip
OLPC: allow olpc-dcon to be built as a module
Signed-off-by: Andres Salomon <dilinger@debian.org>
-rw-r--r--drivers/char/vt_ioctl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/char/vt_ioctl.c b/drivers/char/vt_ioctl.c
index af3fe2ef53e9..3208dee9baf1 100644
--- a/drivers/char/vt_ioctl.c
+++ b/drivers/char/vt_ioctl.c
@@ -21,6 +21,7 @@
#include <linux/string.h>
#include <linux/slab.h>
#include <linux/major.h>
+#include <linux/module.h>
#include <linux/fs.h>
#include <linux/console.h>
#include <linux/consolemap.h>
@@ -40,6 +41,7 @@ extern struct tty_driver *console_driver;
/* Add a notifier chain to inform drivers of a VT_TEXT/VT_GRAPHICS switch */
RAW_NOTIFIER_HEAD(console_notifier_list);
+EXPORT_SYMBOL_GPL(console_notifier_list);
#define VT_IS_IN_USE(i) (console_driver->ttys[i] && console_driver->ttys[i]->count)
#define VT_BUSY(i) (VT_IS_IN_USE(i) || i == fg_console || vc_cons[i].d == sel_cons)