aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiri Slaby <[email protected]>2013-07-19 08:26:09 +0200
committerDavid S. Miller <[email protected]>2013-07-22 14:43:30 -0700
commitf0e61604d747bf541808a1ebde6eeaef57e904e4 (patch)
treea15e3f6d0b6cba9026006cfc238e4a38acf5c128
parent7bd04bcf91e77bd0fe01c180546aacab4c7934be (diff)
net: pch_gbe depends on x86
Since 4bb1667255a86360721291fe59991d033bbc2f2a (build some drivers only when compile-testing), PTP_1588_CLOCK_PCH depends on (X86 || COMPILE_TEST). But PCH_GBE selects PTP_1588_CLOCK_PCH without depending on x86. Fix this by adding the same dependency here. Signed-off-by: Jiri Slaby <[email protected]> Reported-by: <[email protected]> [intel's build test robot] Cc: "David S. Miller" <[email protected]> Cc: Ben Hutchings <[email protected]> Cc: [email protected] Cc: Greg Kroah-Hartman <[email protected]> Cc: [email protected] Signed-off-by: David S. Miller <[email protected]>
-rw-r--r--drivers/net/ethernet/oki-semi/pch_gbe/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/oki-semi/pch_gbe/Kconfig b/drivers/net/ethernet/oki-semi/pch_gbe/Kconfig
index cb22341a14a8..a588ffde9700 100644
--- a/drivers/net/ethernet/oki-semi/pch_gbe/Kconfig
+++ b/drivers/net/ethernet/oki-semi/pch_gbe/Kconfig
@@ -4,7 +4,7 @@
config PCH_GBE
tristate "OKI SEMICONDUCTOR IOH(ML7223/ML7831) GbE"
- depends on PCI
+ depends on PCI && (X86 || COMPILE_TEST)
select MII
select PTP_1588_CLOCK_PCH
---help---