hvc_xen: avoid uninitialized variable warning
[firefly-linux-kernel-4.4.55.git] / drivers / tty / hvc / Kconfig
index f47b734c6a7abfda97d21f9dc27f4b95c8fb821d..8902f9b4df719f75a03f3417a5aa8d5e8b8f8e3c 100644 (file)
@@ -1,3 +1,5 @@
+if TTY
+
 config HVC_DRIVER
        bool
        help
@@ -119,3 +121,4 @@ config HVCS
          which will also be compiled when this driver is built as a
          module.
 
+endif # TTY