diff options
author | Josh Triplett <josh@joshtriplett.org> | 2012-11-19 06:27:41 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-22 00:19:52 +0100 |
commit | a5e04b760a033c5247478dbc957970cd9d968fc6 (patch) | |
tree | 6207d57bc7ede786748619a9bfee11c1a76beed9 /drivers/tty/vt | |
parent | TTY: let me eat my own cooking (diff) | |
download | linux-a5e04b760a033c5247478dbc957970cd9d968fc6.tar.xz 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.c | 1 |
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> |