Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp3384277ybf; Tue, 3 Mar 2020 05:07:12 -0800 (PST) X-Google-Smtp-Source: ADFU+vtvtHWmbn9MPKSSAOyHtwPtSD8+gQWYtOXPOit4uxaFrIet7qEBBuX1yR/ukKqlGISJAUd5 X-Received: by 2002:aca:abd6:: with SMTP id u205mr2262483oie.12.1583240832829; Tue, 03 Mar 2020 05:07:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583240832; cv=none; d=google.com; s=arc-20160816; b=Jyl3simy2d8DqQGqc+9j+oaVZG5eTcqBWw6UEeajWGOLg7nqkmJJiY65Sul5jlF5H/ ppttmhmBUik61q3e83VTQHslBnhsOCmG9Xps8QTmPqLQ5KN2MsctsIJWqvrEzuSJ5XHa bwDL8O45UnnQLSxDQu275nrwEjBeKyvPFoQGOf3exp48r8WpUdVTu2PVtMVp7xdrK5gn 6wCxaDjXnv6zyHJOWXyLecfWrBe7NI9W4B/WVkIdAOM5+BRlVgyvLv5VmLZxHf/NpoyS s0So67zpiQun6vZKKVSTvvs7a7Lbn0ynHwsosWGgl/CNv0JrQJGoc1TEbZ3jNeoumy6q Gtag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=pApeAoBn1TbpfXW2dmTLTf9gfqzvW3DOKNrNysvAldw=; b=VhEIeMnDkc7rGqMkaIJmKjjNDhnLDjxRWKnv6fnwuZHUWznzgQEQ5QbTZLE+Zy5oeb 0U+4HvA0YrOcl2+AJWS43CVY//K0nAeQD3GhvqkTYESwHbTiTzI3MCVli2hqAkXFWosr YlzTG0XDXxZsS7guserg7CE2BXZI0J3mtYPGvaUas+Vyhh8/HA7zedoIiYb2dDLAgkQ6 iSqBrUyoHXJQOPLKFpylg+H55SUtYCRdIOqfgX1OwMueLuw+OsZuvchRCQ1BGGV9Ox9O 4+y9oszyucGRiMryJ0v1pzplgVT9YcE1VthcIh/plBjX2lOOlZ8stAL4BIxDsrADbmSL JGIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ODlGKB8w; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m17si4412162otk.113.2020.03.03.05.06.55; Tue, 03 Mar 2020 05:07:12 -0800 (PST) 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; dkim=pass header.i=@linaro.org header.s=google header.b=ODlGKB8w; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728776AbgCCMrA (ORCPT + 99 others); Tue, 3 Mar 2020 07:47:00 -0500 Received: from mail-lf1-f68.google.com ([209.85.167.68]:43918 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728692AbgCCMq7 (ORCPT ); Tue, 3 Mar 2020 07:46:59 -0500 Received: by mail-lf1-f68.google.com with SMTP id s23so2588004lfs.10 for ; Tue, 03 Mar 2020 04:46:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=pApeAoBn1TbpfXW2dmTLTf9gfqzvW3DOKNrNysvAldw=; b=ODlGKB8wwjJZKEO70OxhYHWn4gC4iQlLm+XrIh4OFH3iejS3rg2nErBSNrw9Qxshi6 1gpN2VVJfcWt4qZhdZ3uEKe/GA6D0oXK9o+AxH9SqIqE5deiXVFS5JPlnlRb7W9qWd2p Qhs1+wuxuMVd6J5sUSBI/OEtcEyllJ2FoVK/bdaloS3Bp43LbZnqDdSKi71OKy1M7BY0 TXWpjIaBQSWqSR4xm6/6iLnii/rcaLbyAOHoaeJrN6tmX5Ave8tqn5NxPJdsiDWbc2ws wOZ1Iasit8qxP7R36xtOcCrAA6vMT510+vVvYlxdcg2lwyUmSGyR0YHjUyyvtiCunZQb ueag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=pApeAoBn1TbpfXW2dmTLTf9gfqzvW3DOKNrNysvAldw=; b=tADsiCmbrT33mccYGtlzTAvHK3u5bggXXpiLbRcB94Mg5F2KGDs8/0HwgxrSheyBw5 qNsJ09FaQ/bcwESlyLZwxKldkQwFeNIW/0wwaNBDt70rbL3MF0SsxqVa6YhKExODlVT8 oVZa7l/loydQdtpbMO99924tr9maksnhl4WIuI8e6iK1QbnQXh+nWOZb2We4YuITzi29 sbNdLHAEZz/B54KVd8+MvoxOB+x8ddBp/zjtrZgJ7Z3pdbwCM3CiNiCOhHdzDdWy2CB/ UpiHEbTwnWgckIJQdk/5nuLW/8pOfVgmolcty5/kYzg5sbLXFUjVQMWtpZWJDFsa/HDA CiqQ== X-Gm-Message-State: ANhLgQ0fcwwoG2jWweuJhQ/unN8TEs2D9gKrJgcqwVgvVPo0zvbqWisp oi8nwnmD2xkj3Ncq+DOke/SLtGQufG+rw/bgkKcwZQ== X-Received: by 2002:a19:110:: with SMTP id 16mr2705207lfb.21.1583239617657; Tue, 03 Mar 2020 04:46:57 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Linus Walleij Date: Tue, 3 Mar 2020 13:46:46 +0100 Message-ID: Subject: Re: [PATCH] pinctrl: sprd: Fix the kconfig warning To: Baolin Wang Cc: Randy Dunlap , Orson Zhai , Lyra Zhang , "open list:GPIO SUBSYSTEM" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 3, 2020 at 4:32 AM Baolin Wang wrote: > On X86 plaform, if the CONFIG_OF is not selected, and set the > CONFIG_SPRD_SC9860 as 'm', that will cause below waring: > > WARNING: unmet direct dependencies detected for PINCTRL_SPRD > Depends on [n]: PINCTRL [=y] && OF [=n] && (ARCH_SPRD || COMPILE_TEST [=y]) > Selected by [m]: > - PINCTRL_SPRD_SC9860 [=m] && PINCTRL [=y] > > Thus move the configuration dependency under CONFIG_PINCTRL_SPRD_SC9860 > to fix the warning. > > Reported-by: Randy Dunlap > Signed-off-by: Baolin Wang Oh there is a fix. Patch applied, thanks! Yours, Linus Walleij