android: make persistent_ram based drivers depend on HAVE_MEMBLOCK
authorColin Cross <ccross@android.com>
Wed, 21 Mar 2012 17:18:33 +0000 (10:18 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Apr 2012 16:48:29 +0000 (09:48 -0700)
commit099f5d01a6f73712e17552679aa724e021809a6e
treea8ae32bb4309c15ebd0619ac84b64b720aba2908
parent40f32d9345bee0b24d3317b498e79b02e4be27f4
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: 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>
drivers/staging/android/Kconfig