net: pch_gbe depends on x86
authorJiri Slaby <[email protected]>
Fri, 19 Jul 2013 06:26:09 +0000 (08:26 +0200)
committerDavid S. Miller <[email protected]>
Mon, 22 Jul 2013 21:43:30 +0000 (14:43 -0700)
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]>
drivers/net/ethernet/oki-semi/pch_gbe/Kconfig

index cb22341a14a8c03fd7627c0d2d2a31f9f68ce126..a588ffde970041def37cae92b215011d88b6eea6 100644 (file)
@@ -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---