diff options
author | David S. Miller <davem@davemloft.net> | 2012-10-02 22:34:04 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-10-02 22:34:04 -0400 |
commit | da1586461e53a4dd045738cce309ab488970f0ef (patch) | |
tree | 7790b9e4224b3632df75e5ef82a7e664b4413b9c /drivers/net/ethernet/oki-semi | |
parent | 7fe0b14b725d6d09a1d9e1409bd465cb88b587f9 (diff) |
pch_gbe: Fix PTP dependencies.
The config combination:
CONFIG_PCH_GBE=y
CONFIG_PCH_PTP=y
CONFIG_PTP_1588_CLOCK=m
doesn't work, because then you have a built-in kernel
object (the PCH_PTP code) referring to symbols in a
module (PTP_1588_CLOCK).
Fix this like IXGBE, by using "select PTP_1588_CLOCK"
instead of a "depends on".
Reported-by: Haicheng Li <haicheng.li@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/oki-semi')
-rw-r--r-- | drivers/net/ethernet/oki-semi/pch_gbe/Kconfig | 2 |
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 bce01641ee6b..97302419a377 100644 --- a/drivers/net/ethernet/oki-semi/pch_gbe/Kconfig +++ b/drivers/net/ethernet/oki-semi/pch_gbe/Kconfig | |||
@@ -26,7 +26,7 @@ if PCH_GBE | |||
26 | config PCH_PTP | 26 | config PCH_PTP |
27 | bool "PCH PTP clock support" | 27 | bool "PCH PTP clock support" |
28 | default n | 28 | default n |
29 | depends on PTP_1588_CLOCK_PCH | 29 | select PTP_1588_CLOCK_PCH |
30 | ---help--- | 30 | ---help--- |
31 | Say Y here if you want to use Precision Time Protocol (PTP) in the | 31 | Say Y here if you want to use Precision Time Protocol (PTP) in the |
32 | driver. PTP is a method to precisely synchronize distributed clocks | 32 | driver. PTP is a method to precisely synchronize distributed clocks |