ptp: fixup Kconfig for two PHC drivers.

Ben Hutchings recently came up with a better way to handle the kconfig
dependencies for the PTP hardware clocks. This patch converts one new and
one older driver to the new scheme.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Richard Cochran 2012-11-01 23:57:38 +00:00 committed by David S. Miller
parent 56b765b79e
commit 70ac618c07
2 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@ config BFIN_RX_DESC_NUM
config BFIN_MAC_USE_HWSTAMP config BFIN_MAC_USE_HWSTAMP
bool "Use IEEE 1588 hwstamp" bool "Use IEEE 1588 hwstamp"
depends on BFIN_MAC && BF518 && PTP_1588_CLOCK && !(BFIN_MAC=y && PTP_1588_CLOCK=m) select PTP_1588_CLOCK
default y default y
---help--- ---help---
To support the IEEE 1588 Precision Time Protocol (PTP), select y here To support the IEEE 1588 Precision Time Protocol (PTP), select y here

View File

@ -62,7 +62,7 @@ config TI_CPSW
config TI_CPTS config TI_CPTS
boolean "TI Common Platform Time Sync (CPTS) Support" boolean "TI Common Platform Time Sync (CPTS) Support"
depends on TI_CPSW && PTP_1588_CLOCK && !(TI_CPSW=y && PTP_1588_CLOCK=m) select PTP_1588_CLOCK
---help--- ---help---
This driver supports the Common Platform Time Sync unit of This driver supports the Common Platform Time Sync unit of
the CPSW Ethernet Switch. The unit can time stamp PTP UDP/IPv4 the CPSW Ethernet Switch. The unit can time stamp PTP UDP/IPv4