Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c8e40859 authored by Amit Pundir's avatar Amit Pundir
Browse files

ANDROID: skip building drivers as modules



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: default avatarAmit Pundir <amit.pundir@linaro.org>
parent e846cbed
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -177,7 +177,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.
@@ -186,9 +186,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.
+2 −8
Original line number Diff line number Diff line
@@ -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"
+1 −1
Original line number Diff line number Diff line
@@ -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