Skip to content

Commit

Permalink
net: dpaa2: improve PTP Kconfig option
Browse files Browse the repository at this point in the history
Converted to use "imply" instead of "select" for PTP_1588_CLOCK
driver selecting. This could break the hard dependency between
the PTP clock subsystem and ethernet drivers.
This patch also set "default y" for dpaa2 ptp driver building to
provide user an available ptp clock in default.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Yangbo Lu authored and David S. Miller committed Jan 23, 2019
1 parent 8fb18be commit 5d9bf43
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions drivers/net/ethernet/freescale/dpaa2/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ config FSL_DPAA2_ETH

config FSL_DPAA2_PTP_CLOCK
tristate "Freescale DPAA2 PTP Clock"
depends on FSL_DPAA2_ETH && POSIX_TIMERS
select PTP_1588_CLOCK
depends on FSL_DPAA2_ETH
imply PTP_1588_CLOCK
default y
help
This driver adds support for using the DPAA2 1588 timer module
as a PTP clock.

0 comments on commit 5d9bf43

Please sign in to comment.