ion: Add Kconfig dependency to ARM
authorJohn Stultz <john.stultz@linaro.org>
Fri, 15 Mar 2013 00:50:50 +0000 (17:50 -0700)
committerArve Hjønnevåg <arve@android.com>
Mon, 1 Jul 2013 22:52:00 +0000 (15:52 -0700)
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.

Change-Id: I5979af1ad59d1eeddd9e08763b1cbc946cf82339
Cc: Arve Hjønnevåg <arve@android.com>
Cc: Rebecca Schultz Zavin <rebecca@android.com>
Cc: Android Kernel Team <kernel-team@android.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
drivers/gpu/ion/Kconfig

index b5bfdb47fd0957a55ce1780d928f06b3ed2e2f72..c62f2cbb9e8908f398d094b87c6cfbeaf712eec5 100644 (file)
@@ -1,5 +1,6 @@
 menuconfig ION
        tristate "Ion Memory Manager"
+       depends on ARM
        select GENERIC_ALLOCATOR
        select DMA_SHARED_BUFFER
        help