summary refs log tree commit diff
path: root/arch/s390/Kconfig
diff options
context:
space:
mode:
authorChen Gang <gang.chen@asianux.com>2013-07-23 16:26:08 +0800
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2013-07-26 13:25:20 +0200
commit79b6f7fbd1c18154a93313712ab91e413778afa6 (patch)
tree4767614ff77826ba433830e0dbffd06819cef6e8 /arch/s390/Kconfig
parent8e2872ce7b9a06b951680d196e893f5c0d6a3229 (diff)
downloadlinux-79b6f7fbd1c18154a93313712ab91e413778afa6.tar.gz
s390/Kconfig: select 'TTY' when 'S390_GUEST' is enabled
'VIRTIO_CONSOLE' depends on 'TTY', so need to select 'TTY' explicitly
before selecting 'VIRTIO_CONSOLE'.

Otherwise randconfig can generate a config file which enables
'VIRTIO_CONSOLE' but has 'TTY' disabled.

Signed-off-by: Chen Gang <gang.chen@asianux.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/Kconfig')
-rw-r--r--arch/s390/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig
index 5a4c668676b5..a281bd6e94db 100644
--- a/arch/s390/Kconfig
+++ b/arch/s390/Kconfig
@@ -710,6 +710,7 @@ config S390_GUEST
 	def_bool y
 	prompt "s390 support for virtio devices"
 	depends on 64BIT
+	select TTY
 	select VIRTUALIZATION
 	select VIRTIO
 	select VIRTIO_CONSOLE