Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

phy: USB_LGM_PHY should depend on X86

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: 1cce8f73a561c944 ("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>

authored by

Geert Uytterhoeven and committed by
Vinod Koul
6b46e60a 36acd5e2

+1
+1
drivers/phy/Kconfig
··· 52 52 config USB_LGM_PHY 53 53 tristate "INTEL Lightning Mountain USB PHY Driver" 54 54 depends on USB_SUPPORT 55 + depends on X86 || COMPILE_TEST 55 56 select USB_PHY 56 57 select REGULATOR 57 58 select REGULATOR_FIXED_VOLTAGE