Skip to contentSkip to conversation

net: phy: microchip_t1: depend on PTP_1588_CLOCK_OPTIONAL

PATCH Applied Divya Koppera 2 participants 2 messages Jan 10, 2025 – Jan 14, 2025

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 net: phy: microchip_t1: depend on PTP_1588_CLOCK_OPTIONAL

When microchip_t1_phy is built in and phyptp is module facing undefined reference issue. This get fixed when microchip_t1_phy made dependent on PTP_1588_CLOCK_OPTIONAL.

Closes:
https://lore.kernel.org/oe-kbuild-all/[email protected]

Fixes fa51199c5f34 ("net: phy: microchip_rds_ptp : Add rds ptp library for Microchip phys")

---
v1 -> v2
- Modifed prefix for the patch and subject.
- Changed target to net-next from net.

---
 drivers/net/phy/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/phy/Kconfig +2 -2
index dc625f2b3ae4..9ad3dbfd2f99 100644
@@ -287,8 +287,8 @@ config MICROCHIP_PHY
 
 config MICROCHIP_T1_PHY
 	tristate "Microchip T1 PHYs"
-	select MICROCHIP_PHY_RDS_PTP if NETWORK_PHY_TIMESTAMPING && \
-				  PTP_1588_CLOCK_OPTIONAL
+	select MICROCHIP_PHY_RDS_PTP if NETWORK_PHY_TIMESTAMPING
+	depends on PTP_1588_CLOCK_OPTIONAL
 	help
 	  Supports the LAN8XXX PHYs.
 
Signature · 1 line
2.17.1
#1 lore raw
This patch was applied to netdev/net-next.git (main) by Paolo Abeni <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (main) by Paolo Abeni <[email protected]>:

Quoted 5 lines · On Fri, 10 Jan 2025 11:14:24 +0530 you wrote:

When microchip_t1_phy is built in and phyptp is module facing undefined reference issue. This get fixed when microchip_t1_phy made dependent on PTP_1588_CLOCK_OPTIONAL.

Quoted 8 lines

Closes:
https://lore.kernel.org/oe-kbuild-all/[email protected]

Fixes fa51199c5f34 ("net: phy: microchip_rds_ptp : Add rds ptp library for Microchip phys")

[...]

Here is the summary with links:
- [net-next,v2] net: phy: microchip_t1: depend on PTP_1588_CLOCK_OPTIONAL

    https://git.kernel.org/netdev/net-next/c/6a46e3e87b59

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html