From: Fabian Frederick Date: Wed, 23 Jul 2014 19:04:38 +0000 (+0200) Subject: staging: ion: vm_insert_pfn and zap_page_range rely on CONFIG_MMU X-Git-Tag: firefly_0821_release~176^2~3491^2~172 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=80dd7052089f0ee847ba3dc7c5ad471c0ed18089;p=firefly-linux-kernel-4.4.55.git staging: ion: vm_insert_pfn and zap_page_range rely on CONFIG_MMU Fix following sh-allmodconfig errors reported on kisskb " drivers/built-in.o: In function `ion_vm_fault': ion.c:(.text+0x1f2d8f8): undefined reference to `vm_insert_pfn' drivers/built-in.o: In function `ion_buffer_sync_for_device': ion.c:(.text+0x1f316bc): undefined reference to `zap_page_range' make: *** [vmlinux] Error 1 " Signed-off-by: Fabian Frederick Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/android/ion/Kconfig b/drivers/staging/android/ion/Kconfig index 0a6e4d03c78a..345234624492 100644 --- a/drivers/staging/android/ion/Kconfig +++ b/drivers/staging/android/ion/Kconfig @@ -1,6 +1,6 @@ menuconfig ION bool "Ion Memory Manager" - depends on HAVE_MEMBLOCK && HAS_DMA + depends on HAVE_MEMBLOCK && HAS_DMA && MMU select GENERIC_ALLOCATOR select DMA_SHARED_BUFFER ---help---