net: mvpp2: Remove unneeded Kconfig dependency.
authorRichard Cochran <richardcochran@gmail.com>
Thu, 21 Jan 2021 04:06:01 +0000 (20:06 -0800)
committerJakub Kicinski <kuba@kernel.org>
Sat, 23 Jan 2021 21:23:35 +0000 (13:23 -0800)
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@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/marvell/Kconfig

index 41815b6..7fe15a3 100644 (file)
@@ -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)