Skip to content

Commit

Permalink
ARM: nomadik: hide MACH_NOMADIK_8815NHK in Kconfig
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Arnd Bergmann committed Mar 19, 2013
1 parent 3a768d0 commit ae55afc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/arm/mach-nomadik/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ config ARCH_NOMADIK
help
Support for the Nomadik platform by ST-Ericsson

if ARCH_NOMADIK
menu "Nomadik boards"

config MACH_NOMADIK_8815NHK
Expand All @@ -26,6 +27,7 @@ config MACH_NOMADIK_8815NHK
select I2C_ALGOBIT

endmenu
endif

config NOMADIK_8815
depends on ARCH_NOMADIK
Expand Down

0 comments on commit ae55afc

Please sign in to comment.