summary refs log tree commit diff
path: root/drivers/misc
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2014-05-16 11:16:54 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-27 12:21:43 -0700
commitfd1a73c60ee0bfd3fefc96ad270effd69b350aba (patch)
tree0b45ccb0bdae4e8db87a2888c163a69710b4a844 /drivers/misc
parent6a57bad6e78ba0355f0f6df8cca1f7df42b58bfd (diff)
downloadlinux-fd1a73c60ee0bfd3fefc96ad270effd69b350aba.tar.gz
misc: pch_phub: Fix Kconfig dependencies
The pch_phub 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: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc')
-rw-r--r--drivers/misc/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
index fe2230cb64e2..1e6df18e8218 100644
--- a/drivers/misc/Kconfig
+++ b/drivers/misc/Kconfig
@@ -468,7 +468,7 @@ config BMP085_SPI
 config PCH_PHUB
 	tristate "Intel EG20T PCH/LAPIS Semicon IOH(ML7213/ML7223/ML7831) PHUB"
 	select GENERIC_NET_UTILS
-	depends on PCI
+	depends on PCI && (X86_32 || COMPILE_TEST)
 	help
 	  This driver is for PCH(Platform controller Hub) PHUB(Packet Hub) of
 	  Intel Topcliff which is an IOH(Input/Output Hub) for x86 embedded