net: dpaa2: improve PTP Kconfig option
Subsystems (3)
PATCH v2 1/1 net: dpaa2: improve PTP Kconfig option
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.
---
Changes for v2:
- Converted to use imply for PTP_1588_CLOCK.
- Modified commit message.
--- drivers/net/ethernet/freescale/dpaa2/Kconfig | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-)
drivers/net/ethernet/freescale/dpaa2/Kconfig +3 -2
@@ -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.
Signature · 1 line
1.7.1
Quoted 7 lines · Yangbo Lu
Converted to use "imply" instead of "select" for
PTP_1588_CLOCKdriver 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 <[email protected]>
From: Yangbo Lu <[email protected]>
Date: Mon, 21 Jan 2019 14:26:37 +0800
Quoted 11 lines
Converted to use "imply" instead of "select" for
PTP_1588_CLOCKdriver 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 <[email protected]>---
Changes for v2:
- Converted to use imply forPTP_1588_CLOCK.
- Modified commit message.
Applied.