Skip to content

Commit 6a46e3e

Browse files
Divya-KopperaPaolo Abeni
authored andcommitted
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. Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected] Fixes: fa51199 ("net: phy: microchip_rds_ptp : Add rds ptp library for Microchip phys") Signed-off-by: Divya Koppera <[email protected]> Reviewed-by: Simon Horman <[email protected]> Tested-by: Simon Horman <[email protected]> # build-tested Link: https://patch.msgid.link/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
1 parent 88df16f commit 6a46e3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/net/phy/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,8 +287,8 @@ config MICROCHIP_PHY
287287

288288
config MICROCHIP_T1_PHY
289289
tristate "Microchip T1 PHYs"
290-
select MICROCHIP_PHY_RDS_PTP if NETWORK_PHY_TIMESTAMPING && \
291-
PTP_1588_CLOCK_OPTIONAL
290+
select MICROCHIP_PHY_RDS_PTP if NETWORK_PHY_TIMESTAMPING
291+
depends on PTP_1588_CLOCK_OPTIONAL
292292
help
293293
Supports the LAN8XXX PHYs.
294294

0 commit comments

Comments
 (0)