summaryrefslogtreecommitdiffstats
path: root/drivers/tty/vt
diff options
context:
space:
mode:
authorPeter Hurley <peter@hurleysoftware.com>2014-11-05 12:26:31 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-11-05 20:18:30 -0800
commit68952076e9226cc23ebce66d3fc2fdb8b6c04c30 (patch)
tree37ef9dd249eb8dfe97c5134d1b5b8b51fd42f817 /drivers/tty/vt
parent5ac9c05d789044d30735402f387355a394ec8e18 (diff)
downloadop-kernel-dev-68952076e9226cc23ebce66d3fc2fdb8b6c04c30.zip
op-kernel-dev-68952076e9226cc23ebce66d3fc2fdb8b6c04c30.tar.gz
vt: Remove vt_get_kmsg_redirect() from uapi header
vt_get_kmsg_redirect() only has meaning to the console driver as an alias for calling vt_kmsg_redirect(). Move the macro definition to the only source file which uses it; remove from uapi/linux/vt.h Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/vt')
-rw-r--r--drivers/tty/vt/vt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/tty/vt/vt.c b/drivers/tty/vt/vt.c
index b33b00b..3dc5d56 100644
--- a/drivers/tty/vt/vt.c
+++ b/drivers/tty/vt/vt.c
@@ -2509,6 +2509,8 @@ int vt_kmsg_redirect(int new)
return kmsg_con;
}
+#define vt_get_kmsg_redirect() vt_kmsg_redirect(-1)
+
/*
* Console on virtual terminal
*
OpenPOWER on IntegriCloud