aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ptp/Kconfig
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2012-11-16 10:43:59 -0500
committerDavid S. Miller <davem@davemloft.net>2012-11-17 22:11:45 -0500
commit18d359ceb04485df0e387e04b0e52a761c4c58a0 (patch)
treee65db5958098d3544634a992bfcbb6b45b70da9b /drivers/ptp/Kconfig
parente8e55d9514f2eb2ffbb79b07636fb7b3c944b1a1 (diff)
pch_gbe, ptp_pch: Fix the dependency direction between these drivers
In commit a24006ed12616bde1bbdb26868495906a212d8dc ('ptp: Enable clock drivers along with associated net/PHY drivers') I wrongly made PTP_1588_CLOCK_PCH depend on PCH_GBE. The dependency is really the other way around. Therefore make PCH_GBE select PTP_1588_CLOCK_PCH and remove the 'default y' from the latter. Reported-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Acked-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ptp/Kconfig')
-rw-r--r--drivers/ptp/Kconfig2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/ptp/Kconfig b/drivers/ptp/Kconfig
index 70c5836ebfc9..1ea6f1dbbedd 100644
--- a/drivers/ptp/Kconfig
+++ b/drivers/ptp/Kconfig
@@ -72,9 +72,7 @@ config DP83640_PHY
72 72
73config PTP_1588_CLOCK_PCH 73config PTP_1588_CLOCK_PCH
74 tristate "Intel PCH EG20T as PTP clock" 74 tristate "Intel PCH EG20T as PTP clock"
75 depends on PCH_GBE
76 select PTP_1588_CLOCK 75 select PTP_1588_CLOCK
77 default y
78 help 76 help
79 This driver adds support for using the PCH EG20T as a PTP 77 This driver adds support for using the PCH EG20T as a PTP
80 clock. The hardware supports time stamping of PTP packets 78 clock. The hardware supports time stamping of PTP packets