diff options
author | Amit Pundir <amit.pundir@linaro.org> | 2015-12-29 12:59:31 +0530 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2016-02-16 13:54:25 -0800 |
commit | 31a3049fb6132eee040f116baf810adf1edb44fc (patch) | |
tree | f0fcec93e5818c534969afc00bcc6ddaaa4dc9a3 /drivers/input | |
parent | 594354108648b4e58810a87b3539fec31bda903b (diff) |
android: skip building drivers as modules
Few Android drivers e.g. uid_cputime and PPPoLAC/oPNS,
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/Kconfig | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/drivers/input/Kconfig b/drivers/input/Kconfig index 4c1e2a74276c..2557dcda7621 100644 --- a/drivers/input/Kconfig +++ b/drivers/input/Kconfig @@ -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" |