aboutsummaryrefslogtreecommitdiff
path: root/drivers/input
diff options
context:
space:
mode:
authorAmit Pundir <amit.pundir@linaro.org>2015-12-29 12:59:31 +0530
committerAmit Pundir <amit.pundir@linaro.org>2016-12-08 11:59:31 +0530
commit36389b6ad809e208e60303cd7dad8843685c4f48 (patch)
treef38bb70cafc36c1abcb9359d140bae96f9708b7b /drivers/input
parentddaabc6f71e6b674b59bc859fe0199f54ff3724e (diff)
android: skip building drivers as moduleslsk-v4.1-16.12-android
Few Android drivers e.g. uid_cputime and keyreset/combo, cpufreq_interactive etc.. 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. Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/Kconfig10
1 files changed, 2 insertions, 8 deletions
diff --git a/drivers/input/Kconfig b/drivers/input/Kconfig
index 518efa2a9f52..2a4c51377f86 100644
--- a/drivers/input/Kconfig
+++ b/drivers/input/Kconfig
@@ -175,24 +175,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"