Commit 099f5d01 authored by Colin Cross's avatar Colin Cross Committed by Greg Kroah-Hartman

android: make persistent_ram based drivers depend on HAVE_MEMBLOCK

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: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Reported-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: default avatarColin Cross <ccross@android.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 40f32d93
...@@ -27,13 +27,14 @@ config ANDROID_LOGGER ...@@ -27,13 +27,14 @@ config ANDROID_LOGGER
config ANDROID_PERSISTENT_RAM config ANDROID_PERSISTENT_RAM
bool bool
depends on HAVE_MEMBLOCK
select REED_SOLOMON select REED_SOLOMON
select REED_SOLOMON_ENC8 select REED_SOLOMON_ENC8
select REED_SOLOMON_DEC8 select REED_SOLOMON_DEC8
config ANDROID_RAM_CONSOLE config ANDROID_RAM_CONSOLE
bool "Android RAM buffer console" bool "Android RAM buffer console"
depends on !S390 && !UML depends on !S390 && !UML && HAVE_MEMBLOCK
select ANDROID_PERSISTENT_RAM select ANDROID_PERSISTENT_RAM
default n default n
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment