From: John Stultz Date: Fri, 13 Dec 2013 22:24:42 +0000 (-0800) Subject: ion: Add Kconfig dependency to ARM X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d1cf3e98d9777877df7aefe402ed99b68620e354;p=openwrt%2Fstaging%2Fblogic.git ion: Add Kconfig dependency to ARM The ion code has some very specific arm-isms which keeps it from building on other architectures. These should probably be resolved, but in the mean time, add a dependency on CONFIG_ARM to avoid build failures. v2: Fix earlier flub, sending out an early untested version of the patch. Cc: Arve Hjønnevåg Cc: Rebecca Schultz Zavin Cc: Android Kernel Team [jstultz: modified patch to apply to staging directory] Signed-off-by: John Stultz Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/android/ion/Kconfig b/drivers/staging/android/ion/Kconfig index b5bfdb47fd09..c62f2cbb9e89 100644 --- a/drivers/staging/android/ion/Kconfig +++ b/drivers/staging/android/ion/Kconfig @@ -1,5 +1,6 @@ menuconfig ION tristate "Ion Memory Manager" + depends on ARM select GENERIC_ALLOCATOR select DMA_SHARED_BUFFER help