Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp2670320pxb; Mon, 19 Apr 2021 10:51:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyUqjwRkxEmTtbZ0l5Uwf4s1E6iWcgH7ak9xhDzOSNHqcVlKLVMHA/fP+4GIhiNPWhGvS0o X-Received: by 2002:a05:6402:11c7:: with SMTP id j7mr9039560edw.119.1618854713603; Mon, 19 Apr 2021 10:51:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618854713; cv=none; d=google.com; s=arc-20160816; b=NsZSfHeY7ZaWQlK9vJh/xFa/YF9r+N8Sib7ClwY+FJ35+52tIkETRTdXybSjbEGOSu o7CQZZt2QlVkzIYm15UQAlJXRyHNisqeiAPki3mm58Aalh5LIW9omUliiLkYNcKNDfr4 hkd6bZbF+g0uK89xhEvf5o1MRekZy1BBP+7NeW4uKa2Vc7+04W8HN2h+ihtyIklVlTbp lWGoUPuzyOxq72PV5OFChbkOhSjZerKKnSFTXyANZkltYrh8dLNrRKlBdnedSGVSW6qV 9yLL8AeqRJMq7zecGfsKF7qEl601T2bgoxXttoFcf3GTml12e/lVMoe+2T/RTyD8IMn4 Gg2Q== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=zBAG/TrAFtx1k/3hXO//wmJDEpvoIpQeZsvV5u6a7qs=; b=qooo2qvlaM/u32lKD8kHiSBfqvFtoZZ9Nj6JiHhIOVz6toVJ5WejuJLrjo75JZI84f 0h/Hw2PWDofRvars3b8aH7tCNo2UocTV/8Z7i5MZzi2uUSPPOX2mXP/SjeSlfZM4WG/9 NAQyq7fU//PAjMtgkfNwDNf4HF2rTLBtP25Bw8MnO9NT+/kVjkS4FynZNYP1rEKJ5TCq BqKMeB+zM9jxOOCMxKyec53ITjNt9lhGDAemDYEUyj7ClXI5G5bnrEu+UE8/Hn9lvVNF kp/RO/S3awCB7Vh5dT3rS2Yi+Cne5tUYUfgDW/s3KfrxVIavmuiBZnCvarpuUGj7ufd6 +i8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=xk128k07; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hg20si12365917ejc.465.2021.04.19.10.51.25; Mon, 19 Apr 2021 10:51:53 -0700 (PDT) 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=@linuxfoundation.org header.s=korg header.b=xk128k07; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242132AbhDSNZW (ORCPT + 99 others); Mon, 19 Apr 2021 09:25:22 -0400 Received: from mail.kernel.org ([198.145.29.99]:55300 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239989AbhDSNS6 (ORCPT ); Mon, 19 Apr 2021 09:18:58 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id A0FDF613C5; Mon, 19 Apr 2021 13:15:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1618838105; bh=DeVjNfLZq/iz/XEz4j6tUWsqTE14MLD9ZjyI2n5Dy3s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=xk128k07dMHhhMeXwjWyfxUmppf+DHDxQSEANBriGIQVo9dlDWB2asVJRJsMuS4XZ ZJ1EhTfNNy5ZgT1p1YsiZ9hIh+8eRLKOLrp9SyonyUow4ikNADTJu6kC/i65Rz/ZpE VhT5KzVs/T8+TvHWIBB1AjcMf3s6v+Kn0jfdtJuM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, kernel test robot , Andy Shevchenko , Viresh Kumar , Vinod Koul , Sasha Levin Subject: [PATCH 5.10 009/103] dmaengine: dw: Make it dependent to HAS_IOMEM Date: Mon, 19 Apr 2021 15:05:20 +0200 Message-Id: <20210419130528.119687687@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210419130527.791982064@linuxfoundation.org> References: <20210419130527.791982064@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Andy Shevchenko [ Upstream commit 88cd1d6191b13689094310c2405394e4ce36d061 ] Some architectures do not provide devm_*() APIs. Hence make the driver dependent on HAVE_IOMEM. Fixes: dbde5c2934d1 ("dw_dmac: use devm_* functions to simplify code") Reported-by: kernel test robot Signed-off-by: Andy Shevchenko Acked-by: Viresh Kumar Link: https://lore.kernel.org/r/20210324141757.24710-1-andriy.shevchenko@linux.intel.com Signed-off-by: Vinod Koul Signed-off-by: Sasha Levin --- drivers/dma/dw/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/dma/dw/Kconfig b/drivers/dma/dw/Kconfig index e5162690de8f..db25f9b7778c 100644 --- a/drivers/dma/dw/Kconfig +++ b/drivers/dma/dw/Kconfig @@ -10,6 +10,7 @@ config DW_DMAC_CORE config DW_DMAC tristate "Synopsys DesignWare AHB DMA platform driver" + depends on HAS_IOMEM select DW_DMAC_CORE help Support the Synopsys DesignWare AHB DMA controller. This @@ -18,6 +19,7 @@ config DW_DMAC config DW_DMAC_PCI tristate "Synopsys DesignWare AHB DMA PCI driver" depends on PCI + depends on HAS_IOMEM select DW_DMAC_CORE help Support the Synopsys DesignWare AHB DMA controller on the -- 2.30.2