Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3922844pxj; Mon, 21 Jun 2021 09:26:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyW8mVLONlWHzNp5BgHn+Sia3A1QQjILAklQW3JwdXuChAsj7emaCyZQiaSr0YzPSN5z3yF X-Received: by 2002:a17:906:63d2:: with SMTP id u18mr25773599ejk.186.1624292814925; Mon, 21 Jun 2021 09:26:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624292814; cv=none; d=google.com; s=arc-20160816; b=dNtpGLrf0fFDRMrsRi0NZWWBGj4srk5ovz0j0XaIgstQNxCDOAhm3aVMKrSROjzmg/ RcyXSRSWh2D1Rbn0TRl2A66YVAZgEbVd6jUndVZ2ReEhZQQlzstmXiBbXTEm4nnabxj1 Rj9xdb5BCb0xdGAqdKpg/rKYSaBWAK2/71N2MIlQv90QPjwdVcfGaVwMHkg2oEAnzZMT 793IEWPM3n2fibrMlt5qNlhEorfMog1DNn9vcXhXCZkX7gthoS5WSeO0/OiHnwbDX/bL gYRp+noL/bbsIi8F9W0AzXRbeD9FWdrWzpFKlJ7BQ9l4YNwynmTtOixl8PbeRoocb1c4 1dTg== 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=0r4DZkYLBP5tJuoq5UJZ1O30lyLqykbuOiC4UdSxHiM=; b=n1REPlFwrjcA0fmwKlZgUl5fy/P4Dku6eMSCJWeSpYTBetzbJ6uEmDi2BMkLTqsEkd uU/bpvUc4Ge51ZGlB0pD0Afo4pT2DDjt5Mvp84P5L7coIUcJIPZWfpc3GRxzr+jKAuYY RoQBTOfwXJNp5MDKnJC5cLh0Bybf+lBWCvdScU341LydHFyVf/6dAjd5iRc6ZPJwS75Y FmF1mPKf+7KcFVrA08uCujgJZfLD4KRq2FWbaHEVflQ5FGS/mXp6k6f//ys2yrQmXLTY egFDTymQSB7NlxNp2/hZFc1KO7hF6a/3ECzf/tQ979BAAEGN9ta5WywJyddSKG+uIWW5 V7lQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=GOBoWDRw; 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 z15si8452339edd.488.2021.06.21.09.26.30; Mon, 21 Jun 2021 09:26:54 -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=GOBoWDRw; 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 S230409AbhFUQZ5 (ORCPT + 99 others); Mon, 21 Jun 2021 12:25:57 -0400 Received: from mail.kernel.org ([198.145.29.99]:42736 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230304AbhFUQYT (ORCPT ); Mon, 21 Jun 2021 12:24:19 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 888B8611BD; Mon, 21 Jun 2021 16:21:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1624292472; bh=drezTIm5NXAag9VITwUk03/tBNhHUWrIQdZSgd+d5GY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GOBoWDRwHXJuwObwdc7V/nYiglocqNZUTdfHQFEHP8osxhwL3qraC0ak6nJ5qXI2N HYWbt1LwojUJ1hkhVgmybwF+RN0g2Y6yYkJErRYNghi9cQH6ZyoxRNKf/JzewHaZAa CSsfCjVZ0xcdq0XaV7vpfy81EHXdlbeRArxYZhp8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Randy Dunlap , kernel test robot , Sinan Kaya , Vinod Koul , dmaengine@vger.kernel.org, Sasha Levin Subject: [PATCH 5.10 005/146] dmaengine: QCOM_HIDMA_MGMT depends on HAS_IOMEM Date: Mon, 21 Jun 2021 18:13:55 +0200 Message-Id: <20210621154911.434083731@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 0cfbb589d67f16fa55b26ae02b69c31b52e344b1 ] 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. Rectifies these build errors: s390-linux-ld: drivers/dma/qcom/hidma_mgmt.o: in function `hidma_mgmt_probe': hidma_mgmt.c:(.text+0x780): undefined reference to `devm_ioremap_resource' s390-linux-ld: drivers/dma/qcom/hidma_mgmt.o: in function `hidma_mgmt_init': hidma_mgmt.c:(.init.text+0x126): undefined reference to `of_address_to_resource' s390-linux-ld: hidma_mgmt.c:(.init.text+0x16e): undefined reference to `of_address_to_resource' Fixes: 67a2003e0607 ("dmaengine: add Qualcomm Technologies HIDMA channel driver") Signed-off-by: Randy Dunlap Reported-by: kernel test robot Cc: Sinan Kaya Cc: Vinod Koul Cc: dmaengine@vger.kernel.org Link: https://lore.kernel.org/r/20210522021313.16405-3-rdunlap@infradead.org Signed-off-by: Vinod Koul Signed-off-by: Sasha Levin --- drivers/dma/qcom/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/dma/qcom/Kconfig b/drivers/dma/qcom/Kconfig index 3bcb689162c6..ef038f3c5e32 100644 --- a/drivers/dma/qcom/Kconfig +++ b/drivers/dma/qcom/Kconfig @@ -10,6 +10,7 @@ config QCOM_BAM_DMA config QCOM_HIDMA_MGMT tristate "Qualcomm Technologies HIDMA Management support" + depends on HAS_IOMEM select DMA_ENGINE help Enable support for the Qualcomm Technologies HIDMA Management. -- 2.30.2