aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2013-12-14 12:06:45 -0800
committerColin Cross <ccross@android.com>2013-12-16 16:30:59 -0800
commitf2b94c52648fa1bb7cba053ab0f4a85e066485a1 (patch)
tree7327bc9de327dba643a1892a5e6c116a974f43ac /drivers/staging
parenta8694287f5cbd0585ac653924a4459d3f1aa5b29 (diff)
downloadlinaro-lsk-f2b94c52648fa1bb7cba053ab0f4a85e066485a1.tar.gz
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>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/android/ion/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/android/ion/Kconfig b/drivers/staging/android/ion/Kconfig
index a342d96ee4f..b95281eef2a 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---