Skip to contentSkip to conversation

phy: ti: Fix dependencies on COMPILE_TEST

PATCH New Jean Delvare 1 participant 1 message Dec 6, 2022 Generic PHY framework

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 phy: ti: Fix dependencies on COMPILE_TEST

MUX_MMIO was recently changed to depend on OF. As a result, it can no longer be selected when OF is not selected. Attempting to do so triggers a warning:

kismet: WARNING: unmet direct dependencies detected for MUX_MMIO when selected by PHY_AM654_SERDES

Adjust the dependencies of PHY_DM816X_USB and PHY_AM654_SERDES accordingly.

Cc Kishon Vijay Abraham I <[email protected]>
Cc Vinod Koul <[email protected]>
Cc Philipp Zabel <[email protected]>

---
Note: the MUX_MMIO change isn't upstream yet, but you can find it in linux-next:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=ea327624ae52936b2c0eccffd9369983ca2d08e3

 drivers/phy/ti/Kconfig |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/phy/ti/Kconfig +2 -2
@@ -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
@@ -35,7 +35,7 @@ config PHY_AM654_SERDES
 
 config PHY_J721E_WIZ
 	tristate "TI J721E WIZ (SERDES Wrapper) support"
-	depends on OF && ARCH_K3 || COMPILE_TEST
+	depends on OF && (ARCH_K3 || COMPILE_TEST)
 	depends on HAS_IOMEM && OF_ADDRESS
 	depends on COMMON_CLK
 	select GENERIC_PHY
Signature · 7 lines
Jean Delvare
SUSE L3 Support

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