Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4456819rwb; Mon, 21 Nov 2022 07:49:55 -0800 (PST) X-Google-Smtp-Source: AA0mqf46zfTblJWrDEmykj6dWjPTeRtg+jGEFnG0unaw6rHrP2vQoWB4tOK9IOJ+wSruOMMs1QJj X-Received: by 2002:a17:906:c011:b0:778:f9b6:6fc with SMTP id e17-20020a170906c01100b00778f9b606fcmr16158737ejz.580.1669045794995; Mon, 21 Nov 2022 07:49:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669045794; cv=none; d=google.com; s=arc-20160816; b=DoJsu+3+JJR4Uo/FU1vDC4SuhktbXkFHIOrC33+YMwveA39Dt66Wytsd9TBALt4D/g B1RxGNua8ry9CJvXCJ26Bkows/2yrBLFHuQzqmOz7Oez0VBovQ00jChPnUTSNlmesRaV rWG0/1I3CxiBEbP6cc1UX/EFUL90W48hQxITP2atAkjNiIQz2WHp/69PPa0Jo6ReziwO NiJvRn1Yk65Rz4tGFQtKbFVtP1imNyTCxyklCiPFoaHmncN262MkVBjMUhjO2/pGgCBA UQewkqr2A3LImM60nbJS3IBPuTbNWiitmZxCQ9rxtYocFYx9UZNH4o2/hfOE/UrDndbK hCeg== 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; bh=/WGnwn31TB0l4Z3uZaMVsvbXveATJ2d6/QQcx1clpmY=; b=DJeaNpQBMvEqShyzx6QxbMs6XP9YgbH+JLnQ96bj4ZQUkk9KMkOFjPpFe9hFxPSD3r 4WFmlXeu7V7f1fv2BWVFvcGz6Ys9iMkHF1b7BQ87vykmWB0VZrlW2OQN/DPfyA8ADBqW mU1ZJd0pTo5RR/xK0kQs+y/gfK3yE9z+IH0zbvbcO21F/x8T/m3UCqyfs60//gnz8iB9 KNV/n6/8C6WPNb/z9utpr0oF4L7kLnnsctzt/hNs1MWcfeLvndwCiNNbeuQWa8Rf7IRY Q+LS9dzWGwyvDcPt4Die2iCgdytujo6n5aEhFOOfubD4GUk/FfVfhadEDx7l2oO6NOfX zcYQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u20-20020a170906069400b007add6c835a9si8159622ejb.867.2022.11.21.07.49.20; Mon, 21 Nov 2022 07:49:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232026AbiKUPYe (ORCPT + 91 others); Mon, 21 Nov 2022 10:24:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51904 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231997AbiKUPX7 (ORCPT ); Mon, 21 Nov 2022 10:23:59 -0500 Received: from laurent.telenet-ops.be (laurent.telenet-ops.be [IPv6:2a02:1800:110:4::f00:19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 338F3F585 for ; Mon, 21 Nov 2022 07:23:56 -0800 (PST) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed10:4821:1ba5:2638:5c3a]) by laurent.telenet-ops.be with bizsmtp id n3Pv280025WXlCv013Pvs5; Mon, 21 Nov 2022 16:23:55 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1ox8eI-0019Ch-LD; Mon, 21 Nov 2022 16:23:54 +0100 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1ox8eI-00BQ2H-5w; Mon, 21 Nov 2022 16:23:54 +0100 From: Geert Uytterhoeven To: Vinod Koul , Zhou Wang , Zhenfa Qiu Cc: dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] dmaengine: HISI_DMA should depend on ARCH_HISI Date: Mon, 21 Nov 2022 16:23:53 +0100 Message-Id: <363a1816d36cd3cf604d88ec90f97c75f604de64.1669044190.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The HiSilicon DMA Engine is only present on HiSilicon SoCs. Hence add a dependency on ARCH_HISI, to prevent asking the user about this driver when configuring a kernel without HiSilicon SoC support. Fixes: e9f08b65250d73ab ("dmaengine: hisilicon: Add Kunpeng DMA engine support") Signed-off-by: Geert Uytterhoeven --- drivers/dma/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index b9d54f20812f794b..67323afe9fcad137 100644 --- a/drivers/dma/Kconfig +++ b/drivers/dma/Kconfig @@ -245,7 +245,7 @@ config FSL_RAID config HISI_DMA tristate "HiSilicon DMA Engine support" - depends on ARM64 || COMPILE_TEST + depends on ARCH_HISI || COMPILE_TEST depends on PCI_MSI select DMA_ENGINE select DMA_VIRTUAL_CHANNELS -- 2.25.1