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

Commit f9f1014d authored by Amit Pundir's avatar Amit Pundir Committed by Dmitry Shmidt
Browse files

ANDROID: skip building drivers as modules



Few Android drivers e.g. uid_cputime, keyreset/combo
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.

Change-Id: I50c66228c38c8b7c221ec7d6773fcb59bd201be9
Signed-off-by: default avatarAmit Pundir <amit.pundir@linaro.org>
parent 78ab6c44
Loading
Loading
Loading
Loading
+2 −8
Original line number Diff line number Diff line
@@ -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"
+1 −1
Original line number Diff line number Diff line
@@ -767,7 +767,7 @@ config PANEL_BOOT_MESSAGE
	  printf()-formatted message is valid with newline and escape codes.

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