From 5094c6f2543455a991ed6b5f1d0952fe353c3c4f Mon Sep 17 00:00:00 2001 From: Sandeep Patil Date: Mon, 23 Mar 2020 20:40:00 -0700 Subject: [PATCH] ANDROID: GKI: Add CONFIG_SOC_BUS to gki_defconfig One of the hidden defconfigs that must be enabled for SoC devices to be able to register themselves with the SoC bus. Bug: 152265482 Test: Builds Signed-off-by: Sandeep Patil Change-Id: Ia56f4b0618f8d64acdf44cbb346313119460f745 --- init/Kconfig.gki | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/init/Kconfig.gki b/init/Kconfig.gki index 22a008f2d55f..e6ea7af7925b 100644 --- a/init/Kconfig.gki +++ b/init/Kconfig.gki @@ -108,6 +108,16 @@ config GKI_HIDDEN_USB_CONFIGS If you are not building a kernel to be used for a variety of out-of-kernel build USB drivers, say N here. +config GKI_HIDDEN_SOC_BUS_CONFIGS + bool "Hidden SoC bus configuration needed for GKI" + select SOC_BUS + help + Dummy config option used to enable SOC_BUS hidden Kconfig. + The configuration is required for SoCs to register themselves to the bus. + + If you are not building a kernel to be used for a variety of SoCs and + out-of-tree drivers, say N here. + # Atrocities needed for # a) building GKI modules in separate tree, or # b) building drivers that are not modularizable @@ -128,6 +138,7 @@ config GKI_HACKS_TO_FIX select GKI_HIDDEN_SOC_PM_CONFIGS select GKI_HIDDEN_VIDEOBUF2_CONFIGS select GKI_HIDDEN_USB_CONFIGS + select GKI_HIDDEN_SOC_BUS_CONFIGS help Dummy config option used to enable core functionality used by modules that may not be selectable in this config.