tty: includecheck fix: drivers/char, vt.c
authorJaswinder Singh Rajput <jaswinder@kernel.org>
Thu, 13 Aug 2009 08:26:20 +0000 (13:56 +0530)
committerLive-CD User <linux@linux.site>
Sat, 19 Sep 2009 20:13:11 +0000 (13:13 -0700)
fix the following 'make includecheck' warning:

  drivers/char/vt.c: linux/device.h is included more than once.

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/char/vt.c

index 6aa88f5..e47a4c8 100644 (file)
@@ -2955,7 +2955,6 @@ int __init vty_init(const struct file_operations *console_fops)
 }
 
 #ifndef VT_SINGLE_DRIVER
-#include <linux/device.h>
 
 static struct class *vtconsole_class;