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>
This commit is contained in:
Josh Triplett 2012-11-18 21:27:41 -08:00 committed by Greg Kroah-Hartman
parent 25e6c11fe2
commit a5e04b760a
1 changed files with 1 additions and 0 deletions

View 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>