Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ion: Don't allow building ION as a module.

ION doesn't export the proper symbols for it to be a module. This
causes build issues when ION is configured as a module.

Since Andorid kernels rarely use modules (I think recent policy
requires no modules?), go ahead and set the ION config to a bool
from the tristate option.

If folks decide ION as a module is important, we will have to go
through and export the various needed symbols.

Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

John Stultz and committed by
Greg Kroah-Hartman
968141d2 b1aced6f

+1 -1
+1 -1
drivers/staging/android/ion/Kconfig
··· 1 1 menuconfig ION 2 - tristate "Ion Memory Manager" 2 + bool "Ion Memory Manager" 3 3 select GENERIC_ALLOCATOR 4 4 select DMA_SHARED_BUFFER 5 5 ---help---