Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp10647242pxu; Wed, 30 Dec 2020 07:55:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJwyCfDoaiIOo8t5Ls55a16M3CnFKuMNInNJcs5lAnEubZXJ0ymW7IMG0Gn9QmiUGWr7Z+sX X-Received: by 2002:a17:906:2b50:: with SMTP id b16mr48820243ejg.255.1609343704351; Wed, 30 Dec 2020 07:55:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609343704; cv=none; d=google.com; s=arc-20160816; b=rcoJDpyFaC+xRPsp2SoeQDfC5se93agBsKgLVzd3daOLrGqmbvuzjUIXramQ95Ifge HpTeiGF2IdPHdvDf0RspfUKdMcvZIrXqEZx5ufehZdNnDp+jjJ95h2kp3+Ac9DDJk4R9 QvA20DU4ZYfcPC+5FIv11I/VxjxnPJqEodebyZpQEfOfiAvr8WShq+Tz56Kq7tzUjDSE hbK148KMzr7UQh/qVjXB8x1PspHFae/sIvxyYWA31q7YNLJFn+mnZBBZHeQJ3PbHVvC0 1jqMyP+p07J5DzMDgRG+hysId2uZxF675kuZ/glx+9CuXilYrQ88shQ+u8SGgk8uMrur xYrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=pkuAI5EBolvb72OdFUE0owY5ONrTLGL0np5JgHcWeO8=; b=K5EgkXEPtIuHF0cpq3KNgoYG8EHgJ7F+qQ3jxTg+pPsMckUcL8fy/nY0zLbuiLUSP0 TBf3wji8EXYZmu6E2+MZo6JKdsmZ7oBvSMDX+7pUs4uoUxDs4ih6zVdDH117pGhxz4ye FpyVTVQDMsHgbswYLnR71usgQuUcqXAabqZeopDSxoX8UZas45ptdvHozd3qRdKsVW0C yukH0CKnl+ndNxT/6Xt+XvOUD6o0jpZm94mBi4OYccK2TwVJbdaNn7bv4fresQLEqCp8 V4fS5hgmsL4ph5ihjeg651+yB9stBNrAAHI1O846a1tqmn7qeahhbZyz1fq0R3vMIOde W1RQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kvc8KJK+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l7si21275892edv.230.2020.12.30.07.54.42; Wed, 30 Dec 2020 07:55:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kvc8KJK+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726289AbgL3Pxb (ORCPT + 99 others); Wed, 30 Dec 2020 10:53:31 -0500 Received: from mail.kernel.org ([198.145.29.99]:47872 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726161AbgL3Pxa (ORCPT ); Wed, 30 Dec 2020 10:53:30 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 702A420575; Wed, 30 Dec 2020 15:52:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1609343570; bh=If92lNgtxrjJpLldr1ujm+H+dKa3tY7Be8vdNbpnWlI=; h=From:To:Cc:Subject:Date:From; b=kvc8KJK+NuLIYACrPNCNh26V7lhz6CX6jV8raDd65Z6mMaP6qVnNjBNos9r5CLyPg C66vtjGFOWNcrCvWi1Cb/7830Yae6XGztAUBLP68FkAw8s+8enKKZIfpAAtv1BuETO E6XhGL3uRBS5KuoKbz/T79r6diEbfdpYEijNH+lpim2kkUa5pXwbq364Ij/2kSQqOM X/OEEaljLCCQhg2Q6547K1KqzkzZVJr+81dxMib7lUjmCAMrbUsT9j7frms1nKB2JN WFtR4jehNhPsdLkdu/MuPrpEXHSvC7TaHxmPCUWVz3+SgWVfb5NqEHxF1dNHrqb0Au dlRYby8I5Bb6w== From: Arnd Bergmann To: Michael Turquette , Stephen Boyd , Shawn Guo , Sascha Hauer , Dong Aisheng , Sebastian Andrzej Siewior Cc: Arnd Bergmann , Anders Roxell , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Anson Huang , Peng Fan , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] clk: imx: fix Kconfig warning for i.MX SCU clk Date: Wed, 30 Dec 2020 16:52:25 +0100 Message-Id: <20201230155244.981757-1-arnd@kernel.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnd Bergmann A previous patch introduced a harmless randconfig warning: WARNING: unmet direct dependencies detected for MXC_CLK_SCU Depends on [n]: COMMON_CLK [=y] && ARCH_MXC [=n] && IMX_SCU [=y] && HAVE_ARM_SMCCC [=y] Selected by [m]: - CLK_IMX8QXP [=m] && COMMON_CLK [=y] && (ARCH_MXC [=n] && ARM64 [=y] || COMPILE_TEST [=y]) && IMX_SCU [=y] && HAVE_ARM_SMCCC [=y] Since the symbol is now hidden and only selected by other symbols, just remove the dependencies and require the other drivers to get it right. Fixes: 6247e31b7530 ("clk: imx: scu: fix MXC_CLK_SCU module build break") Reported-by: Anders Roxell Signed-off-by: Arnd Bergmann --- drivers/clk/imx/Kconfig | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/clk/imx/Kconfig b/drivers/clk/imx/Kconfig index 3061896503f3..47d9ec3abd2f 100644 --- a/drivers/clk/imx/Kconfig +++ b/drivers/clk/imx/Kconfig @@ -6,8 +6,6 @@ config MXC_CLK config MXC_CLK_SCU tristate - depends on ARCH_MXC - depends on IMX_SCU && HAVE_ARM_SMCCC config CLK_IMX1 def_bool SOC_IMX1 -- 2.29.2