drivers/tty/vt/vt_ioctl.c: Include <linux/suspend.h> for pm_set_vt_switch
authorJosh Triplett <josh@joshtriplett.org>
Mon, 19 Nov 2012 05:27:41 +0000 (21:27 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Nov 2012 23:19:52 +0000 (15:19 -0800)
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>
drivers/tty/vt/vt_ioctl.c

index b841f56d2e6694695824290e4c9118abab84e6dd..98ff1735eafc0841428a2e2fa2257909073c775e 100644 (file)
@@ -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>