drivers: staging: android: Kconfig: add depends on MMU for ANDROID_BINDER_IPC
authorChen Gang <gang.chen@asianux.com>
Mon, 2 Sep 2013 09:11:57 +0000 (17:11 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Sep 2013 14:47:39 +0000 (07:47 -0700)
commit31507f74f1b2f540614b60cf98d6091f321e4290
treefb5e6aa66d17d86cc113ec53e2d13d1fe981e39d
parentfb07ebc3e82a98a3605112b71ea819c359549c4b
drivers: staging: android: Kconfig: add depends on MMU for ANDROID_BINDER_IPC

ANDROID_BINDER_IPC used the functions which need depend on MMU, so need
let it depend on MMU too, or compiling fails.

The related error:

  drivers/built-in.o: In function `binder_update_page_range':
  drivers/staging/android/binder.c:599: undefined reference to `map_vm_area'
  drivers/staging/android/binder.c:626: undefined reference to `zap_page_range'
  drivers/built-in.o: In function `binder_mmap':
  drivers/staging/android/binder.c:2744: undefined reference to `get_vm_area'

Signed-off-by: Chen Gang <gang.chen@asianux.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/Kconfig