[PATCH] missing dependency on sparc64
authorAl Viro <viro@www.linux.org.uk>
Sun, 24 Apr 2005 19:28:35 +0000 (12:28 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sun, 24 Apr 2005 19:28:35 +0000 (12:28 -0700)
CONFIG_HW_CONSOLE selects vt.c; without the stuff pulled by CONFIG_VT it
will not build.  Normally we get both in drivers/char/Kconfig and there
HW_CONSOLE depends on VT.  sparc64 does not pull drivers/char/Kconfig
and has that sutff in arch/sparc64/Kconfig instead.  However, it forgets
to add the same dependency.  As the result, turning VT off [which is
possible] will end up with broken build.  For no good reason...

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/sparc64/Kconfig

index fb11896..a72fd15 100644 (file)
@@ -118,6 +118,7 @@ config VT_CONSOLE
 
 config HW_CONSOLE
        bool
+       depends on VT
        default y
 
 config SMP