ion: Don't allow building ION as a module.
authorJohn Stultz <john.stultz@linaro.org>
Sat, 14 Dec 2013 20:06:45 +0000 (12:06 -0800)
committerColin Cross <ccross@android.com>
Tue, 17 Dec 2013 00:30:59 +0000 (16:30 -0800)
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>
drivers/staging/android/ion/Kconfig

index a342d96ee4f098ca6aad4b2b433350d9079a75e9..b95281eef2aa3451e5b0ea7eae815ee919036b6c 100644 (file)
@@ -1,5 +1,5 @@
 menuconfig ION
-       tristate "Ion Memory Manager"
+       bool "Ion Memory Manager"
        select GENERIC_ALLOCATOR
        select DMA_SHARED_BUFFER
        ---help---