Skip to content

Commit 3e40d7b

Browse files
geertugregkh
authored andcommitted
phy: USB_LGM_PHY should depend on X86
[ Upstream commit 6b46e60 ] The Intel Lightning Mountain (LGM) USB3 USB is only present on Intel Lightning Mountain SoCs. Hence add a dependency on X86, to prevent asking the user about this driver when configuring a kernel without Intel Lightning Mountain platform support. Fixes: 1cce8f7 ("phy: Add USB3 PHY support for Intel LGM SoC") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/20210129131753.2656306-1-geert+renesas@glider.be Signed-off-by: Vinod Koul <vkoul@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 858d343 commit 3e40d7b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎drivers/phy/Kconfig‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ config PHY_XGENE
5252
config USB_LGM_PHY
5353
tristate "INTEL Lightning Mountain USB PHY Driver"
5454
depends on USB_SUPPORT
55+
depends on X86 || COMPILE_TEST
5556
select USB_PHY
5657
select REGULATOR
5758
select REGULATOR_FIXED_VOLTAGE

0 commit comments

Comments
 (0)