Skip to content

Commit

Permalink
android: make persistent_ram based drivers depend on HAVE_MEMBLOCK
Browse files Browse the repository at this point in the history
m68k doesn't have memblock_reserve, which causes a build failure
with allmodconfig.  Make PERSISTENT_RAM and RAM_CONSOLE depend on
HAVE_MEMBLOCK.

Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reported-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Colin Cross <ccross@android.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Colin Cross authored and Greg Kroah-Hartman committed Apr 10, 2012
1 parent 40f32d9 commit 099f5d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/staging/android/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,14 @@ config ANDROID_LOGGER

config ANDROID_PERSISTENT_RAM
bool
depends on HAVE_MEMBLOCK
select REED_SOLOMON
select REED_SOLOMON_ENC8
select REED_SOLOMON_DEC8

config ANDROID_RAM_CONSOLE
bool "Android RAM buffer console"
depends on !S390 && !UML
depends on !S390 && !UML && HAVE_MEMBLOCK
select ANDROID_PERSISTENT_RAM
default n

Expand Down

0 comments on commit 099f5d0

Please sign in to comment.