bus: qcom-ebi2: depend on ARCH_QCOM or COMPILE_TEST
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 4 Oct 2016 11:56:19 +0000 (13:56 +0200)
committerOlof Johansson <olof@lixom.net>
Mon, 17 Oct 2016 20:46:09 +0000 (13:46 -0700)
This hides the option for people who do not want their Kconfig
vision cluttered (i.e. x86) and enables compile testing apart
from the supported main arch.

Cc: Stephen Boyd <sboyd@codeaurora.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
drivers/bus/Kconfig

index 7010dca..7875105 100644 (file)
@@ -111,6 +111,7 @@ config OMAP_OCP2SCP
 config QCOM_EBI2
        bool "Qualcomm External Bus Interface 2 (EBI2)"
        depends on HAS_IOMEM
+       depends on ARCH_QCOM || COMPILE_TEST
        help
          Say y here to enable support for the Qualcomm External Bus
          Interface 2, which can be used to connect things like NAND Flash,