]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
phy: Kconfig: spacemit: add COMMON_CLK dependency
authorAlex Elder <elder@riscstar.com>
Fri, 26 Dec 2025 17:32:27 +0000 (11:32 -0600)
committerVinod Koul <vkoul@kernel.org>
Mon, 29 Dec 2025 16:57:55 +0000 (22:27 +0530)
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 <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202512251903.sTVZgg6c-lkp@intel.com/
Signed-off-by: Alex Elder <elder@riscstar.com>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patch.msgid.link/20251226173228.2020411-1-elder@riscstar.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/Kconfig

index aa2d30e0e32614699d974b6913130897f62f7fb3..3bc7378ea86580f82924274e8ecb1bf8433d5b95 100644 (file)
@@ -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