From: Selvamani Rajagopal Add the PTP_1588_CLOCK_OPTIONAL dependency to LAN865X. A following patch makes OA_TC6 depend on it, but "select" ignores that, so LAN865X built in with PTP_1588_CLOCK=m would link-fail on ptp_clock_register(). Signed-off-by: Selvamani Rajagopal --- changes in v12 - No change changes in v11 - Moved the vendor changes into its own patch. - New patch in v11. --- drivers/net/ethernet/microchip/lan865x/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/microchip/lan865x/Kconfig b/drivers/net/ethernet/microchip/lan865x/Kconfig index 7f2a4e7e1915..342172cb8837 100644 --- a/drivers/net/ethernet/microchip/lan865x/Kconfig +++ b/drivers/net/ethernet/microchip/lan865x/Kconfig @@ -8,6 +8,7 @@ if NET_VENDOR_MICROCHIP config LAN865X tristate "LAN865x support" depends on SPI + depends on PTP_1588_CLOCK_OPTIONAL select OA_TC6 help Support for the Microchip LAN8650/1 Rev.B0/B1 MACPHY Ethernet chip. It -- 2.43.0