From: Alex Elder Date: Fri, 26 Dec 2025 17:32:27 +0000 (-0600) Subject: phy: Kconfig: spacemit: add COMMON_CLK dependency X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8df20813eb01fe29b4507fd470d73675bda3e1dd;p=thirdparty%2Flinux.git phy: Kconfig: spacemit: add COMMON_CLK dependency The SpacemiT PCIe PHY driver depends on the common clock framework. Not specifying that led to a failure when doing a COMPILE_TEST build for the SPARC architecture. Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202512251903.sTVZgg6c-lkp@intel.com/ Signed-off-by: Alex Elder Reviewed-by: Javier Martinez Canillas Link: https://patch.msgid.link/20251226173228.2020411-1-elder@riscstar.com Signed-off-by: Vinod Koul --- diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig index aa2d30e0e326..3bc7378ea865 100644 --- a/drivers/phy/Kconfig +++ b/drivers/phy/Kconfig @@ -104,6 +104,7 @@ config PHY_NXP_PTN3222 config PHY_SPACEMIT_K1_PCIE tristate "PCIe and combo PHY driver for the SpacemiT K1 SoC" depends on ARCH_SPACEMIT || COMPILE_TEST + depends on COMMON_CLK depends on HAS_IOMEM depends on OF select GENERIC_PHY