aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2013-03-19 17:01:25 -0400
committerArnd Bergmann <arnd@arndb.de>2013-03-19 17:01:25 -0400
commitae55afce201cb7d1bb05727834ba9d8255c360c9 (patch)
tree09ad5636d5437734d8ae2834dd6046b87732b430
parent3a768d04639307dbebbbbc8f4216e3a06bc602d7 (diff)
ARM: nomadik: hide MACH_NOMADIK_8815NHK in Kconfig
The nomadik multiplatform support made it possible to select MACH_NOMADIK_8815NHK without selecting ARCH_NOMADIK, which leads to build errors when we also select ARMv6/v7 targets. Adding the ifdef here restores the intended behavior. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
-rw-r--r--arch/arm/mach-nomadik/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-nomadik/Kconfig b/arch/arm/mach-nomadik/Kconfig
index 954f0e30f3a0..3213badf25d8 100644
--- a/arch/arm/mach-nomadik/Kconfig
+++ b/arch/arm/mach-nomadik/Kconfig
@@ -17,6 +17,7 @@ config ARCH_NOMADIK
17 help 17 help
18 Support for the Nomadik platform by ST-Ericsson 18 Support for the Nomadik platform by ST-Ericsson
19 19
20if ARCH_NOMADIK
20menu "Nomadik boards" 21menu "Nomadik boards"
21 22
22config MACH_NOMADIK_8815NHK 23config MACH_NOMADIK_8815NHK
@@ -26,6 +27,7 @@ config MACH_NOMADIK_8815NHK
26 select I2C_ALGOBIT 27 select I2C_ALGOBIT
27 28
28endmenu 29endmenu
30endif
29 31
30config NOMADIK_8815 32config NOMADIK_8815
31 depends on ARCH_NOMADIK 33 depends on ARCH_NOMADIK