Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1392883ybb; Thu, 9 Apr 2020 00:53:38 -0700 (PDT) X-Google-Smtp-Source: APiQypI7fSh7vzS9y/7ANrsVM+cY+wBrlGJCDpOb2md5rp/iDEfuZOlDBsNIm6B4eE7iaIeQ5tXU X-Received: by 2002:a9d:544:: with SMTP id 62mr8763817otw.355.1586418818151; Thu, 09 Apr 2020 00:53:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586418818; cv=none; d=google.com; s=arc-20160816; b=s8YSgphuy7SPAyRcK4RjAsmupy/dyuYnfmv7N2wLDcW55znuoMiuq2f+PburjzkE9n 3IFt55kQl6IvOEs+tqxM/KYZ3/en/nCAqUaeW3owT8H7aDOSzQlm2J+WP/NeWSW9+CGT O048PxZXp7YhwoG4jsDLxgxdbQYEImdvjbiOU/MyekeVwekc3DbDIQuFsQCwa8ac6304 MAx9yNBI6t8ce4tn/1KJG9aKqNsr2k0uTOVYh+zg7KAAIYRGMwZf+LtP81GZfkPBPPcp Q6/f/jRQzyETKIByCKSI6YXsIjLXfz3tiFFlnLvWeSEGtw5//lqFbXkZdvoZ5999iCBs 7b9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=HHEXpIWIO17mIcCB4OERpdbKSon9PNEPaW+oV3+fIUY=; b=Xi92lfA9ebvyVuxC9l89GS1dHT+tRBaQ1whJ8o+prZ7yl/vPjmV18oTpzkFXGEuI13 c38aae/28u9JRMoXfSxfoQpbiPQ89Si2nbBwPCcd1e8EHOWuQ7Dhnz2SWjngvd4ZfkZP K8pYU7qJ+tbop2rmzNA0BuBDq1t1J9W7SQlJTIKaPnrTd58CRS2chocUwhpRaZJacj87 iVm8X8CQeBwBkGTyuDQxJcIGtEeoJdHf424fd5Ifn/e+Lk6LXB0HleJYpP4zaMT2GGm1 Mtu3vBi7wH8KhpcL5Kygpy8kl638U+30Y1zsodxIcSoEWTNcOaY62+gZ0AP2YljEg0GK QPow== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v69si684029oie.173.2020.04.09.00.53.22; Thu, 09 Apr 2020 00:53:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726647AbgDIHwT (ORCPT + 99 others); Thu, 9 Apr 2020 03:52:19 -0400 Received: from mout.kundenserver.de ([212.227.126.133]:47143 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726052AbgDIHwT (ORCPT ); Thu, 9 Apr 2020 03:52:19 -0400 Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.129]) with ESMTPA (Nemesis) id 1MmyzH-1iuZbi1qn1-00k3v4; Thu, 09 Apr 2020 09:52:09 +0200 From: Arnd Bergmann To: soc@kernel.org, Shawn Guo , Sascha Hauer , Peng Fan , Leonard Crestez Cc: Arnd Bergmann , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Abel Vesa , Anson Huang , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] soc: imx8: select SOC_BUS Date: Thu, 9 Apr 2020 09:51:48 +0200 Message-Id: <20200409075208.2824062-1-arnd@arndb.de> X-Mailer: git-send-email 2.26.0 MIME-Version: 1.0 Content-Transfer-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GpikbA+U3XUO/kphRUXVKVC7eKrTlu2nHlPB+WDwhocb3hxUxOphVksTQJlo gtMtOfHxof3L1kXi9QyoT/KkJoB/Kun65ow9o6h6QkhlzJ2ERM= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Compile-testing the driver can result in a link failure when CONFIG_SOC_BUS is disabled: x86_64-linux-ld: drivers/soc/imx/soc-imx8m.o: in function `imx8_soc_init': soc-imx8m.c:(.init.text+0x28d): undefined reference to `soc_device_register' Select it from Kconfig, as we do from the other SoC drivers. Fixes: fc40200ebf82 ("soc: imx: increase build coverage for imx8m soc driver") Signed-off-by: Arnd Bergmann --- drivers/soc/imx/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/soc/imx/Kconfig b/drivers/soc/imx/Kconfig index 67aa94b2481b..d515d2cc20ed 100644 --- a/drivers/soc/imx/Kconfig +++ b/drivers/soc/imx/Kconfig @@ -21,6 +21,7 @@ config SOC_IMX8M bool "i.MX8M SoC family support" depends on ARCH_MXC || COMPILE_TEST default ARCH_MXC && ARM64 + select SOC_BUS help If you say yes here you get support for the NXP i.MX8M family support, it will provide the SoC info like SoC family, -- 2.26.0