phy: intel-lgm-emmc: Add architecture dependency
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 7 May 2020 11:36:26 +0000 (13:36 +0200)
committerKishon Vijay Abraham I <kishon@ti.com>
Wed, 13 May 2020 02:57:35 +0000 (08:27 +0530)
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 <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20200507113626.24026-3-geert+renesas@glider.be
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/intel/Kconfig

index 4ea6a88..e6320a9 100644 (file)
@@ -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