vt: don't assume devtty.h
authorAlan Cox <alan@linux.intel.com>
Fri, 13 Feb 2015 23:06:08 +0000 (23:06 +0000)
committerAlan Cox <alan@linux.intel.com>
Fri, 13 Feb 2015 23:06:08 +0000 (23:06 +0000)
If we are turned on then its needed, if not then it may be absent

Kernel/vt.c

index 874edc1..18312a8 100644 (file)
@@ -1,9 +1,12 @@
 #include <kernel.h>
 #include <tty.h>
 #include <vt.h>
-#include <devtty.h>
 
 #ifdef CONFIG_VT
+
+
+#include <devtty.h>
+
 /*
  *     Mini vt52 terminal emulation
  *