Skip to content

Commit

Permalink
pch_gbe, ptp_pch: Fix the dependency direction between these drivers
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Ben Hutchings <[email protected]>
Acked-by: Randy Dunlap <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Ben Hutchings authored and davem330 committed Nov 18, 2012
1 parent e8e55d9 commit 18d359c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions drivers/net/ethernet/oki-semi/pch_gbe/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ config PCH_GBE
depends on PCI
select NET_CORE
select MII
select PTP_1588_CLOCK_PCH
---help---
This is a gigabit ethernet driver for EG20T PCH.
EG20T PCH is the platform controller hub that is used in Intel's
Expand Down
2 changes: 0 additions & 2 deletions drivers/ptp/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,7 @@ config DP83640_PHY

config PTP_1588_CLOCK_PCH
tristate "Intel PCH EG20T as PTP clock"
depends on PCH_GBE
select PTP_1588_CLOCK
default y
help
This driver adds support for using the PCH EG20T as a PTP
clock. The hardware supports time stamping of PTP packets
Expand Down

0 comments on commit 18d359c

Please sign in to comment.