summaryrefslogtreecommitdiffstats
path: root/drivers/tty/vt
diff options
context:
space:
mode:
authorJosh Triplett2012-11-19 06:27:41 +0100
committerGreg Kroah-Hartman2012-11-22 00:19:52 +0100
commita5e04b760a033c5247478dbc957970cd9d968fc6 (patch)
tree6207d57bc7ede786748619a9bfee11c1a76beed9 /drivers/tty/vt
parentTTY: let me eat my own cooking (diff)
downloadkernel-qcow2-linux-a5e04b760a033c5247478dbc957970cd9d968fc6.tar.gz
kernel-qcow2-linux-a5e04b760a033c5247478dbc957970cd9d968fc6.tar.xz
kernel-qcow2-linux-a5e04b760a033c5247478dbc957970cd9d968fc6.zip
drivers/tty/vt/vt_ioctl.c: Include <linux/suspend.h> for pm_set_vt_switch
C files should include the header files that prototype their functions. This keeps the types in sync, and eliminates warnings from GCC (-Wmissing-prototypes) and Sparse (-Wdecl). Signed-off-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/vt')
-rw-r--r--drivers/tty/vt/vt_ioctl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/vt/vt_ioctl.c b/drivers/tty/vt/vt_ioctl.c
index b841f56d2e66..98ff1735eafc 100644
--- a/drivers/tty/vt/vt_ioctl.c
+++ b/drivers/tty/vt/vt_ioctl.c
@@ -25,6 +25,7 @@
#include <linux/console.h>
#include <linux/consolemap.h>
#include <linux/signal.h>
+#include <linux/suspend.h>
#include <linux/timex.h>
#include <asm/io.h>