aboutsummaryrefslogtreecommitdiff
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
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>
-rw-r--r--drivers/cpufreq/Kconfig5
-rw-r--r--drivers/input/Kconfig10
-rw-r--r--drivers/misc/Kconfig2
3 files changed, 4 insertions, 13 deletions
diff --git a/drivers/cpufreq/Kconfig b/drivers/cpufreq/Kconfig
index 6e099e577578..75f63efd7b43 100644
--- a/drivers/cpufreq/Kconfig
+++ b/drivers/cpufreq/Kconfig
@@ -170,7 +170,7 @@ config CPU_FREQ_GOV_ONDEMAND
If in doubt, say N.
config CPU_FREQ_GOV_INTERACTIVE
- tristate "'interactive' cpufreq policy governor"
+ bool "'interactive' cpufreq policy governor"
help
'interactive' - This driver adds a dynamic cpufreq policy governor
designed for latency-sensitive workloads.
@@ -179,9 +179,6 @@ config CPU_FREQ_GOV_INTERACTIVE
increases so that the system is more responsive to
interactive workloads.
- To compile this driver as a module, choose M here: the
- module will be called cpufreq_interactive.
-
For details, take a look at linux/Documentation/cpu-freq.
If in doubt, say N.
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"
diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
index fad4c58a66ca..eab4be78158c 100644
--- a/drivers/misc/Kconfig
+++ b/drivers/misc/Kconfig
@@ -520,7 +520,7 @@ config VEXPRESS_SYSCFG
of generating transactions on this bus.
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