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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 15 Dec 2013 17:39:09 +0000 (09:39 -0800)
commit968141d2541fea22f921bf643636b3b51177336c
treefa10ab3d5cb92e082e51794d2b86afdc26d6efad
parentb1aced6f2dfd8c11a36643b020aa8d7040eb0557
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>
drivers/staging/android/ion/Kconfig