Skip to contentSkip to conversation

misc: pch_phub: Fix Kconfig dependencies

PATCH New Jean Delvare 1 participant 1 message May 16, 2014 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 misc: pch_phub: Fix Kconfig dependencies

From: Jean Delvare <[email protected]>
Subject: 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.

Cc Arnd Bergmann <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
---
 drivers/misc/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/misc/Kconfig +1 -1
@@ -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
Signature · 2 lines
Jean Delvare
SUSE L3 Support