Browse Source

bus: qcom-ebi2: depend on ARCH_QCOM or COMPILE_TEST

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>
Linus Walleij 9 years ago
parent
commit
5fac7e8405
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/bus/Kconfig

+ 1 - 0
drivers/bus/Kconfig

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