Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp299937yba; Wed, 24 Apr 2019 01:08:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqw7AScLRnuSjWftLoOnXk06QOa9stzZtewY4KnjHFYeTgUMTi5uBJd8XcRrETgeGskku42O X-Received: by 2002:a65:6282:: with SMTP id f2mr7476929pgv.152.1556093333612; Wed, 24 Apr 2019 01:08:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556093333; cv=none; d=google.com; s=arc-20160816; b=S3gYEix13olQL5bYdRZuS9GSQwklZKE/8RB4BV/PxMMMwFclDNSvvnUGcAIHG7Yr1W dWdtV84msfclt0Kw+G7vKhpNUrutgXyGuP+Avrm99wJx/n3VC1vM/ig4mpowkTeRT819 pq3QAzXR7bPu5HzC4bpEHBP0vJojYKTqK9wd3Mn+Ds+J1CC326VfChpxVY+s/3jZ1QtJ JdgUmLtpb6s44mcxMAHMzgYHmJAHcCfmuQzsNi2Y9M3a/OzH3y/7gHA0d1rp1ib2ZqOg ZVqqCiLDnQHrOiQzxkSDedL54n4j79HqaLIzugdwBHdXHBhTFEjIGiCoTienBqF3LW+Q d/Gw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=ycITiA6RGcf63R/YcolL4TY8ovHlCiQkRie2R39hskM=; b=iKr6m6rELMy75EIYjzF1Y17+7BQAsLHnbKnffTj0TlelyGULc7H8SoKXmctxYXRnEC q/Iuhypf+jX1UjrGug6SOJp91ezEzrI+lkVidVtlrXKnVUovW4uktyXZsd0TPCV4PjwT r073oKtzyRsNXY4frNn1O64S/1MnzWoryNDPlYsmwXPQFLE997ACECO//trxW6eXtTKW XdCQx1aR//PQMzBMpmfFO2BmYJFaG1TbVV0ExFlFsLV3f3OZwqRmdZqFQKRJStiuQ7pN k8rNqaVuvsmngeky+W3FUmerV36RyRp9WZVvh5RbsPDNR1mynaKczu7uAD7LIX4WXuIb RtTQ== 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 i70si16464996pge.476.2019.04.24.01.08.37; Wed, 24 Apr 2019 01:08:53 -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 S1729478AbfDXIAc (ORCPT + 99 others); Wed, 24 Apr 2019 04:00:32 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:35234 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727030AbfDXIAb (ORCPT ); Wed, 24 Apr 2019 04:00:31 -0400 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id EA8A81AB1E0836BDAFDA; Wed, 24 Apr 2019 16:00:29 +0800 (CST) Received: from localhost (10.177.31.96) by DGGEMS413-HUB.china.huawei.com (10.3.19.213) with Microsoft SMTP Server id 14.3.439.0; Wed, 24 Apr 2019 16:00:23 +0800 From: Yue Haibing To: , , , , , , , , , CC: , , YueHaibing Subject: [PATCH] soc: imx: Fix build error without CONFIG_SOC_BUS Date: Wed, 24 Apr 2019 15:59:46 +0800 Message-ID: <20190424075946.23124-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.177.31.96] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: YueHaibing During randconfig builds, I occasionally run into an invalid configuration drivers/soc/imx/soc-imx8.o: In function `imx8_soc_init': soc-imx8.c:(.init.text+0x144): undefined reference to `soc_device_register' while CONFIG_SOC_BUS is not set, the building failed like this. This patch selects SOC_BUS to fix it. Reported-by: Hulk Robot Fixes: a7e26f356ca1 ("soc: imx: Add generic i.MX8 SoC driver") Signed-off-by: YueHaibing --- drivers/soc/imx/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/soc/imx/Kconfig b/drivers/soc/imx/Kconfig index d80f899..2fb4e47 100644 --- a/drivers/soc/imx/Kconfig +++ b/drivers/soc/imx/Kconfig @@ -5,6 +5,7 @@ config IMX_GPCV2_PM_DOMAINS depends on ARCH_MXC || (COMPILE_TEST && OF) depends on PM select PM_GENERIC_DOMAINS + select SOC_BUS default y if SOC_IMX7D endmenu -- 2.7.4