diff mbox series

arm64: imx8: Fix soc-imx8 dependency on SOC_BUS

Message ID 20190430012104.1071-1-pure.logic@nexus-software.ie (mailing list archive)
State Mainlined, archived
Commit fafaa0a27675e7f4d1b58ef44cdc142883f311fe
Headers show
Series arm64: imx8: Fix soc-imx8 dependency on SOC_BUS | expand

Commit Message

Bryan O'Donoghue April 30, 2019, 1:21 a.m. UTC
Commit a7e26f356ca1 ("soc: imx: Add generic i.MX8 SoC driver") compiles in
soc-imx8 when ARCH_MXC is true.

Since the soc-imx8 driver depends on soc_device_register() compilation will
fail unless SOC_BUS is also selected.

Signed-off-by: Bryan O'Donoghue <pure.logic@nexus-software.ie>
Cc: Abel Vesa <abel.vesa@nxp.com>
Cc: Leonard Crestez <leonard.crestez@nxp.com>
Cc: Shawn Guo <shawnguo@kernel.org>
---
 arch/arm64/Kconfig.platforms | 1 +
 1 file changed, 1 insertion(+)

Comments

Leonard Crestez April 30, 2019, 1:52 a.m. UTC | #1
On 4/30/2019 4:21 AM, Bryan O'Donoghue wrote:
> Commit a7e26f356ca1 ("soc: imx: Add generic i.MX8 SoC driver") compiles in
> soc-imx8 when ARCH_MXC is true.
> 
> Since the soc-imx8 driver depends on soc_device_register() compilation will
> fail unless SOC_BUS is also selected.

Duplicate: https://lkml.org/lkml/2019/4/24/256
diff mbox series

Patch

diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
index 0f4d91824e4b..c86bccbb118a 100644
--- a/arch/arm64/Kconfig.platforms
+++ b/arch/arm64/Kconfig.platforms
@@ -162,6 +162,7 @@  config ARCH_MXC
 	select IMX_GPCV2_PM_DOMAINS
 	select PM
 	select PM_GENERIC_DOMAINS
+	select SOC_BUS
 	help
 	  This enables support for the ARMv8 based SoCs in the
 	  NXP i.MX family.