From patchwork Sun Sep 12 21:27:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Borowski X-Patchwork-Id: 12487689 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2D4A6C433F5 for ; Sun, 12 Sep 2021 21:56:32 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D2EA861004 for ; Sun, 12 Sep 2021 21:56:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org D2EA861004 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=angband.pl Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Subject:MIME-Version:Message-Id:Date:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=9TahNsMbTsXGxgsJPfODuKLemfBJHcgsRXeAMJ68ewE=; b=kjKTrgQnNdMEax GR/IST0YmbcjQrCB9ixR45bPopBbtaKR1qqjIwPnTifZOwIJ06tbSwmnvFNs5E6QwKpzpwcg7ARMO a/LCr8yacP7bY8vWSYyAanD6MUiCz+n/eupeh0Cs33ivkf2OdDAH0jf/BjEa/qIt6Btmc3TJyx7Zl PqSpb+7bafbygaGV3/qn5hzYChaep1pEOW4Kq3vjPmgHQU6rTybfOrQwg37MTr0q+YSvs+m4/1bEE CZxebinIDvZslkDqIo7EQq2WfyHalR20D6CcckL1SkhmjcecGdU8Zj/ureZAMCBtbe/9q+TJkV9Zc jGbgptlatCsO2YAs0lCQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mPXPv-00HMqQ-NI; Sun, 12 Sep 2021 21:53:41 +0000 Received: from tartarus.angband.pl ([51.83.246.204]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mPX2s-00HJAc-RL for linux-arm-kernel@lists.infradead.org; Sun, 12 Sep 2021 21:29:53 +0000 Received: from 89-73-149-240.dynamic.chello.pl ([89.73.149.240] helo=barad-dur.angband.pl) by tartarus.angband.pl with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mPX0c-00C2cu-4T; Sun, 12 Sep 2021 23:27:32 +0200 Received: from [2a02:a31c:8245:f980::4] (helo=valinor.angband.pl) by barad-dur.angband.pl with esmtp (Exim 4.94.2) (envelope-from ) id 1mPX0b-0003DA-D5; Sun, 12 Sep 2021 23:27:29 +0200 Received: from kilobyte by valinor.angband.pl with local (Exim 4.95-RC2) (envelope-from ) id 1mPX0Y-00036P-Ub; Sun, 12 Sep 2021 23:27:26 +0200 From: Adam Borowski To: Sudeep Holla , Cristian Marussi , linux-arm-kernel@lists.infradead.org Cc: Adam Borowski Date: Sun, 12 Sep 2021 23:27:25 +0200 Message-Id: <20210912212725.11909-1-kilobyte@angband.pl> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 89.73.149.240 X-SA-Exim-Mail-From: kilobyte@angband.pl Subject: [PATCH] firmware: arm_scmi: fix build failure if ARM_SCMI_PROTOCOL=y VIRTIO=m X-SA-Exim-Version: 4.2.1 (built Sat, 13 Feb 2021 17:57:42 +0000) X-SA-Exim-Scanned: Yes (on tartarus.angband.pl) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210912_142950_948211_F9103678 X-CRM114-Status: GOOD ( 10.13 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org A "bool" for a subfeature doesn't force the dependency by itself. Signed-off-by: Adam Borowski --- drivers/firmware/arm_scmi/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/firmware/arm_scmi/Kconfig b/drivers/firmware/arm_scmi/Kconfig index 7f4d2435503b..cca557bc625b 100644 --- a/drivers/firmware/arm_scmi/Kconfig +++ b/drivers/firmware/arm_scmi/Kconfig @@ -68,7 +68,7 @@ config ARM_SCMI_TRANSPORT_SMC config ARM_SCMI_TRANSPORT_VIRTIO bool "SCMI transport based on VirtIO" - depends on VIRTIO + depends on VIRTIO >= ARM_SCMI_PROTOCOL select ARM_SCMI_HAVE_TRANSPORT select ARM_SCMI_HAVE_MSG help