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 | |
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>
-rw-r--r-- | drivers/cpufreq/Kconfig | 5 | ||||
-rw-r--r-- | drivers/input/Kconfig | 10 | ||||
-rw-r--r-- | drivers/misc/Kconfig | 2 | ||||
-rw-r--r-- | drivers/net/ppp/Kconfig | 4 |
4 files changed, 6 insertions, 15 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 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" diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index 052730540ab4..98c020b560ac 100644 --- a/drivers/misc/Kconfig +++ b/drivers/misc/Kconfig @@ -530,7 +530,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 diff --git a/drivers/net/ppp/Kconfig b/drivers/net/ppp/Kconfig index 282aec4860eb..e4cf44b1e815 100644 --- a/drivers/net/ppp/Kconfig +++ b/drivers/net/ppp/Kconfig @@ -150,7 +150,7 @@ config PPPOL2TP if TTY config PPPOLAC - tristate "PPP on L2TP Access Concentrator" + bool "PPP on L2TP Access Concentrator" depends on PPP && INET help L2TP (RFC 2661) is a tunneling protocol widely used in virtual private @@ -159,7 +159,7 @@ config PPPOLAC fairly simple and suited for clients. config PPPOPNS - tristate "PPP on PPTP Network Server" + bool "PPP on PPTP Network Server" depends on PPP && INET help PPTP (RFC 2637) is a tunneling protocol widely used in virtual private |