diff options
author | Divya Koppera <divya.koppera@microchip.com> | 2025-01-10 11:14:24 +0530 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2025-01-14 11:24:01 +0100 |
commit | 6a46e3e87b5964f21eb90e8abfee916141df1763 (patch) | |
tree | ea6bb904b142048a17236b84b70e6278ce0cef5a | |
parent | 88df16f851ad8473ae89aba36d07e76b11c798ca (diff) |
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: fa51199c5f34 ("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>
-rw-r--r-- | drivers/net/phy/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig index dc625f2b3ae4..9ad3dbfd2f99 100644 --- a/drivers/net/phy/Kconfig +++ b/drivers/net/phy/Kconfig @@ -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. |