ANDROID: skip building drivers as modules

Few Android drivers e.g. uid_cputime, keyreset/combo
fail to build as kernel modules. Instead of fixing the
build lets make these drivers non-modular (switch config
to "bool" from "tristate" in Kconfig) since Android doesn't
support building kernel modules anyway.

Change-Id: I50c66228c38c8b7c221ec7d6773fcb59bd201be9
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
This commit is contained in:
Amit Pundir
2015-12-29 12:59:31 +05:30
committed by Dmitry Shmidt
parent 78ab6c4498
commit f9f1014d29
2 changed files with 3 additions and 9 deletions
+2 -8
View File
@@ -188,24 +188,18 @@ config INPUT_APMPOWER
module will be called apm-power.
config INPUT_KEYRESET
tristate "Reset key"
bool "Reset key"
depends on INPUT
select INPUT_KEYCOMBO
---help---
Say Y here if you want to reboot when some keys are pressed;
To compile this driver as a module, choose M here: the
module will be called keyreset.
config INPUT_KEYCOMBO
tristate "Key combo"
bool "Key combo"
depends on INPUT
---help---
Say Y here if you want to take action when some keys are pressed;
To compile this driver as a module, choose M here: the
module will be called keycombo.
comment "Input Device Drivers"
source "drivers/input/keyboard/Kconfig"
+1 -1
View File
@@ -767,7 +767,7 @@ config PANEL_BOOT_MESSAGE
printf()-formatted message is valid with newline and escape codes.
config UID_CPUTIME
tristate "Per-UID cpu time statistics"
bool "Per-UID cpu time statistics"
depends on PROFILING
help
Per UID based cpu time statistics exported to /proc/uid_cputime