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 <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202501090604.YEoJXCXi-lkp@intel.com Fixes: fa51199 ("net: phy: microchip_rds_ptp : Add rds ptp library for Microchip phys") Signed-off-by: Divya Koppera <divya.koppera@microchip.com> Reviewed-by: Simon Horman <horms@kernel.org> Tested-by: Simon Horman <horms@kernel.org> # build-tested Link: https://patch.msgid.link/20250110054424.16807-1-divya.koppera@microchip.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
1 parent 88df16f commit 6a46e3e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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)