Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3921617pxj; Mon, 21 Jun 2021 09:25:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwoD42CnZWdaAHfiNZUn7r5l9W52lQRr/VcgU3bladmFR1Vdie7wICW8AmAgVCy6Pp2RI4u X-Received: by 2002:a05:6e02:1b8f:: with SMTP id h15mr19058754ili.151.1624292717150; Mon, 21 Jun 2021 09:25:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624292717; cv=none; d=google.com; s=arc-20160816; b=LzN/KUDiewBwRAOb+7pBMteT3o/cThmvgd9wMnDYAZs6VH9Yy1HbUllwl4p7QQoaqZ lMJCe+nf4HusSKN13pxsuuFwxmAnzNIuT4SjeQxdjdmZr8i9FWFbMNFtIA345wq+hJ05 pXfiGZ81SEHaoAZL8GCv3jlocMkfmgUjnvVpAvX7Gk4++MCfGLq3g1DTeRVNmHWJp6sv tE2YicTbwigmC2/2qfxrPSbIna8SZzz8PA/awVmT4MuOwkdE8SQYBrABgrKfkVYG6yFN GCp/Uslrdul7/Y/oMwzqHv+r1XirIUz+L9cRmx2jh7Djqp4CiWeq/zwgO36pNRN1BwRx pB3w== 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=93eC3PHzAkWw3g4bXa2taH5w+kWxYNb2c1nQU7PPKPE=; b=CHGTSefFNp8H0pQXqx7XELxEHhhEfOldSDukmPSjMFApp/ZkH+bpJtlBsCnX4x7Qqr fwxCOmy48Rh2mqbB4H/dPELk1NqRu7DiD3xKXKAxoFH0hGz0ET6TAhEibtzSKfk2WN7u yjd/8U8LvXpFFbLPWL83+JPc0HdPKKXgh13jRVUTy0P6JB/v8Kr1cm7QRcpaGm8NveKf Ou2rUgJAw/qGAA0VRyx7e8yXqIuBVRsRjBqPzSuxsK1cXtR1jvs7fmDyOVeRkVT1bj19 ItRYLbepcYdSiOBzub7jUA+tbddQUJVHkJyZoLH4Ar5R/vJ5qoUYi2JKcxKDehqwdLEI nmBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=djCLel+4; 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 j5si18870598ioj.35.2021.06.21.09.25.05; Mon, 21 Jun 2021 09:25:17 -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=djCLel+4; 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 S231936AbhFUQZy (ORCPT + 99 others); Mon, 21 Jun 2021 12:25:54 -0400 Received: from mail.kernel.org ([198.145.29.99]:42702 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231331AbhFUQYP (ORCPT ); Mon, 21 Jun 2021 12:24:15 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id E70426124B; Mon, 21 Jun 2021 16:21:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1624292469; bh=3prXdnMXWR5kjkmZUewgSS4wpZfs4GoyJhwbPI7Kceg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=djCLel+4IZMobzsSQkfLs5D6dCF/XYmBJxWPzDHFHuL66dFtAY5qCQIAnlBJk2HPb 7XEKg3NvzouA/2vHdfmxXpuu6tNe1Oa58dxncaHU/OnoYpgWkjXd2parqKTqgzcQ6C GVvgZqcONbsJuld1WIKQAKR+6RT+qC/nTRdrHYes= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Randy Dunlap , kernel test robot , Stefan Roese , Vinod Koul , dmaengine@vger.kernel.org, Sasha Levin Subject: [PATCH 5.10 004/146] dmaengine: ALTERA_MSGDMA depends on HAS_IOMEM Date: Mon, 21 Jun 2021 18:13:54 +0200 Message-Id: <20210621154911.401044723@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210621154911.244649123@linuxfoundation.org> References: <20210621154911.244649123@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: Randy Dunlap [ Upstream commit 253697b93c2a1c237d34d3ae326e394aeb0ca7b3 ] When CONFIG_HAS_IOMEM is not set/enabled, certain iomap() family functions [including ioremap(), devm_ioremap(), etc.] are not available. Drivers that use these functions should depend on HAS_IOMEM so that they do not cause build errors. Repairs this build error: s390-linux-ld: drivers/dma/altera-msgdma.o: in function `request_and_map': altera-msgdma.c:(.text+0x14b0): undefined reference to `devm_ioremap' Fixes: a85c6f1b2921 ("dmaengine: Add driver for Altera / Intel mSGDMA IP core") Signed-off-by: Randy Dunlap Reported-by: kernel test robot Cc: Stefan Roese Cc: Vinod Koul Cc: dmaengine@vger.kernel.org Reviewed-by: Stefan Roese Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr@denx.de Link: https://lore.kernel.org/r/20210522021313.16405-2-rdunlap@infradead.org Signed-off-by: Vinod Koul Signed-off-by: Sasha Levin --- drivers/dma/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index 90284ffda58a..f2db761ee548 100644 --- a/drivers/dma/Kconfig +++ b/drivers/dma/Kconfig @@ -59,6 +59,7 @@ config DMA_OF #devices config ALTERA_MSGDMA tristate "Altera / Intel mSGDMA Engine" + depends on HAS_IOMEM select DMA_ENGINE help Enable support for Altera / Intel mSGDMA controller. -- 2.30.2