From: John Stultz Date: Sat, 14 Dec 2013 20:06:45 +0000 (-0800) Subject: ion: Don't allow building ION as a module. X-Git-Tag: firefly_0821_release~4090^2~431 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f2b94c52648fa1bb7cba053ab0f4a85e066485a1;p=firefly-linux-kernel-4.4.55.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/android/ion/Kconfig b/drivers/staging/android/ion/Kconfig index a342d96ee4f0..b95281eef2aa 100644 --- a/drivers/staging/android/ion/Kconfig +++ b/drivers/staging/android/ion/Kconfig @@ -1,5 +1,5 @@ menuconfig ION - tristate "Ion Memory Manager" + bool "Ion Memory Manager" select GENERIC_ALLOCATOR select DMA_SHARED_BUFFER ---help---