summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2014-05-16 10:48:50 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-27 12:31:20 -0700
commit0667934567a9d05fad5bdf2ca0546b04a1e64dfe (patch)
tree3a99374cbedac3d79693454404ef4dbeb7a12497 /drivers/tty/serial
parente26f1db9b8d74617519e50b41749900d0a257406 (diff)
downloadop-kernel-dev-0667934567a9d05fad5bdf2ca0546b04a1e64dfe.zip
op-kernel-dev-0667934567a9d05fad5bdf2ca0546b04a1e64dfe.tar.gz
serial: pch_uart: Fix Kconfig dependencies
The pch_uart driver is for a companion chip to the Intel Atom E600 series processors. These are 32-bit x86 processors so the driver is only needed on X86_32. Add COMPILE_TEST as an alternative, so that the driver can still be build-tested elsewhere. Signed-off-by: Jean Delvare <jdelvare@suse.de> Cc: Jiri Slaby <jslaby@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial')
-rw-r--r--drivers/tty/serial/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig
index 64c5659..ab81a29 100644
--- a/drivers/tty/serial/Kconfig
+++ b/drivers/tty/serial/Kconfig
@@ -1351,7 +1351,7 @@ config SERIAL_IFX6X60
config SERIAL_PCH_UART
tristate "Intel EG20T PCH/LAPIS Semicon IOH(ML7213/ML7223/ML7831) UART"
- depends on PCI
+ depends on PCI && (X86_32 || COMPILE_TEST)
select SERIAL_CORE
help
This driver is for PCH(Platform controller Hub) UART of Intel EG20T
OpenPOWER on IntegriCloud