Skip to content

Commit 7124c93

Browse files
rddunlapvinodkoul
authored andcommitted
phy: ti: fix Kconfig warning and operator precedence
Fix Kconfig depends operator precedence to prevent a Kconfig warning: WARNING: unmet direct dependencies detected for MUX_MMIO Depends on [n]: MULTIPLEXER [=m] && OF [=n] Selected by [m]: - PHY_AM654_SERDES [=m] && (OF [=n] && ARCH_K3 || COMPILE_TEST [=y]) && COMMON_CLK [=y] Fixes: 71e2f5c ("phy: ti: Add a new SERDES driver for TI's AM654x SoC") Fixes: 091876c ("phy: ti: j721e-wiz: Add support for WIZ module present in TI J721E SoC") Signed-off-by: Randy Dunlap <[email protected]> Cc: Vinod Koul <[email protected]> Cc: Kishon Vijay Abraham I <[email protected]> Cc: [email protected] Cc: Arnd Bergmann <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent 1b929c0 commit 7124c93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/phy/ti/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ config PHY_DM816X_USB
2323

2424
config PHY_AM654_SERDES
2525
tristate "TI AM654 SERDES support"
26-
depends on OF && ARCH_K3 || COMPILE_TEST
26+
depends on OF && (ARCH_K3 || COMPILE_TEST)
2727
depends on COMMON_CLK
2828
select GENERIC_PHY
2929
select MULTIPLEXER
@@ -35,7 +35,7 @@ config PHY_AM654_SERDES
3535

3636
config PHY_J721E_WIZ
3737
tristate "TI J721E WIZ (SERDES Wrapper) support"
38-
depends on OF && ARCH_K3 || COMPILE_TEST
38+
depends on OF && (ARCH_K3 || COMPILE_TEST)
3939
depends on HAS_IOMEM && OF_ADDRESS
4040
depends on COMMON_CLK
4141
select GENERIC_PHY

0 commit comments

Comments
 (0)