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>
This commit is contained in:
John Stultz 2013-12-14 12:06:45 -08:00 committed by Greg Kroah-Hartman
parent b1aced6f2d
commit 968141d254

View File

@ -1,5 +1,5 @@
menuconfig ION menuconfig ION
tristate "Ion Memory Manager" bool "Ion Memory Manager"
select GENERIC_ALLOCATOR select GENERIC_ALLOCATOR
select DMA_SHARED_BUFFER select DMA_SHARED_BUFFER
---help--- ---help---