The Intel eMMC PHY is only present on Intel Lightning Mountain SoCs.
Add an architecture dependency to the PHY_INTEL_EMMC config symbol, to
avoid asking the user about it when configuring a kernel for a non-x86
architecture.

Signed-off-by: Geert Uytterhoeven <[email protected]>
---
 drivers/phy/intel/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/phy/intel/Kconfig b/drivers/phy/intel/Kconfig
index 4ea6a8897cd7c9e1..e6320a94ddb11321 100644
--- a/drivers/phy/intel/Kconfig
+++ b/drivers/phy/intel/Kconfig
@@ -4,6 +4,7 @@
 #
 config PHY_INTEL_EMMC
        tristate "Intel EMMC PHY driver"
+       depends on X86 || COMPILE_TEST
        select GENERIC_PHY
        help
          Enable this to support the Intel EMMC PHY
-- 
2.17.1

Reply via email to