Skip to content

Commit 18d359c

Browse files
Ben Hutchingsdavem330
authored andcommitted
pch_gbe, ptp_pch: Fix the dependency direction between these drivers
In commit a24006e ('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>
1 parent e8e55d9 commit 18d359c

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

‎drivers/net/ethernet/oki-semi/pch_gbe/Kconfig‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ config PCH_GBE
77
depends on PCI
88
select NET_CORE
99
select MII
10+
select PTP_1588_CLOCK_PCH
1011
---help---
1112
This is a gigabit ethernet driver for EG20T PCH.
1213
EG20T PCH is the platform controller hub that is used in Intel's

‎drivers/ptp/Kconfig‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,7 @@ config DP83640_PHY
7272

7373
config PTP_1588_CLOCK_PCH
7474
tristate "Intel PCH EG20T as PTP clock"
75-
depends on PCH_GBE
7675
select PTP_1588_CLOCK
77-
default y
7876
help
7977
This driver adds support for using the PCH EG20T as a PTP
8078
clock. The hardware supports time stamping of PTP packets

0 commit comments

Comments
 (0)