Skip to content

Commit

Permalink
drivers/tty/vt/vt_ioctl.c: Include <linux/suspend.h> for pm_set_vt_sw…
Browse files Browse the repository at this point in the history
…itch

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>
  • Loading branch information
Josh Triplett authored and Greg Kroah-Hartman committed Nov 21, 2012
1 parent 25e6c11 commit a5e04b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/tty/vt/vt_ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit a5e04b7

Please sign in to comment.