ANDROID: init: GKI: enable hidden configs for regmap

Add hidden configs to GKI_HACKS_TO_FIX so they are
enabled for loadable regmap modules built out-of-tree.

Bug: 141266428
Change-Id: I1dedb1fd6e26e36c12b28fcbbf0302f074547101
Signed-off-by: Todd Kjos <tkjos@google.com>
This commit is contained in:
Todd Kjos 2019-09-17 15:38:05 -07:00
parent fb4eaa06e5
commit a1ca9aa827

View file

@ -9,6 +9,14 @@ config GKI_HIDDEN_DRM_CONFIGS
These are normally selected implicitely when including a
DRM module, but for GKI, the modules are built out-of-tree.
config GKI_HIDDEN_REGMAP_CONFIGS
bool "Hidden Regmap configs needed for GKI"
select REGMAP_IRQ
help
Dummy config option used to enable hidden regmap configs.
These are normally selected implicitely when a module
that relies on it is configured.
# Atrocities needed for
# a) building GKI modules in separate tree, or
# b) building drivers that are not modularizable
@ -19,6 +27,7 @@ config GKI_HIDDEN_DRM_CONFIGS
config GKI_HACKS_TO_FIX
bool "GKI Dummy config options"
select GKI_HIDDEN_DRM_CONFIGS
select GKI_HIDDEN_REGMAP_CONFIGS
help
Dummy config option used to enable core functionality used by
modules that may not be selectable in this config.