[PATCH net 2/4] net: mvpp2: Remove unneeded Kconfig dependency.

From: Richard Cochran
Date: Wed Jan 20 2021 - 23:36:59 EST


The mvpp2 is an Ethernet driver, and it implements MAC style time
stamping of PTP frames. It has no need of the expensive option to
enable PHY time stamping. Remove the incorrect dependency.

Signed-off-by: Richard Cochran <richardcochran@xxxxxxxxx>
Fixes: 91dd71950bd7 ("net: mvpp2: ptp: add TAI support")
---
drivers/net/ethernet/marvell/Kconfig | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/net/ethernet/marvell/Kconfig b/drivers/net/ethernet/marvell/Kconfig
index 41815b609569..7fe15a3286f4 100644
--- a/drivers/net/ethernet/marvell/Kconfig
+++ b/drivers/net/ethernet/marvell/Kconfig
@@ -94,7 +94,6 @@ config MVPP2

config MVPP2_PTP
bool "Marvell Armada 8K Enable PTP support"
- depends on NETWORK_PHY_TIMESTAMPING
depends on (PTP_1588_CLOCK = y && MVPP2 = y) || \
(PTP_1588_CLOCK && MVPP2 = m)

--
2.20.1