summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)