Skip to contentSkip to conversation

phy: AM654: fix serdes dependencies

PATCH New Arnd Bergmann 1 participant 1 message Dec 15, 2022 Generic PHY framework

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 phy: AM654: fix serdes dependencies

From: Arnd Bergmann <[email protected]>

Building without CONFIG_OF leads to a harmless Kconfig warning:

WARNING: unmet direct dependencies detected for MUX_MMIO
Depends on [n]: MULTIPLEXER [=y] && OF [=n]
Selected by [y]:
- PHY_AM654_SERDES [=y] && (OF [=n] && ARCH_K3 || COMPILE_TEST [=y]) && COMMON_CLK [=y]

Change the dependency to limit compile testing to OF-enabled builds.

---
 drivers/phy/ti/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/phy/ti/Kconfig +1 -1
index 15a3bcf32308..381bc499053e 100644
@@ -23,7 +23,7 @@ config PHY_DM816X_USB
 
 config PHY_AM654_SERDES
 	tristate "TI AM654 SERDES support"
-	depends on OF && ARCH_K3 || COMPILE_TEST
+	depends on OF && (ARCH_K3 || COMPILE_TEST)
 	depends on COMMON_CLK
 	select GENERIC_PHY
 	select MULTIPLEXER
Signature · 7 lines
2.35.1


-- 
linux-phy mailing list
[email protected]
https://lists.infradead.org/mailman/listinfo/linux-phy