Received: by 2002:a05:6a10:8395:0:0:0:0 with SMTP id n21csp594036pxh; Tue, 9 Nov 2021 15:52:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJyX4pwAPUEw/N6GBZ9dz/sFOerpXB1V+skIXlrgQhjfx+Ued6ALox/AgSVVM6F4yiYIgqeG X-Received: by 2002:a05:6602:1649:: with SMTP id y9mr7636458iow.133.1636501929770; Tue, 09 Nov 2021 15:52:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636501929; cv=none; d=google.com; s=arc-20160816; b=oS0L6sk4uwdZrvMBDpZoTxJeBffVtYQJk7cIah9wKj3ZrytC1PguOb0ImX0yeAjpJj nntDTABHVZhgkCG6/DP2gg3OJb9A3NwSr6pWHDR2Y6o2dZ4BDrJI0V1zWfyw4NnkgMrj MAcngcNCIPGepl1zzDYwPLnE17+nA/GCCVZL+cLKVRbs7MkIc9pW5Oem9eO2KEcEu3jS FArt0Rm3HE1f5sQjRZavFm8m+L4SkpkqxwGKnSJJbRi+zbRUXeKjPzq7eK8Vo31Y0xh2 sKx619MHbNXUgryH9JuOnhERq8QT9vGkz5xZh6ZnNdG9jYnXhOtmYro69M9srK3pC1ad RSlQ== 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 :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=zzosplbvEI0XMkOll8ZcA+urcjOlcKBpnDhOGFcKAv4=; b=LeMfnnvEUEasrN6ffiLK1NWsz7t+THzaVvXcxG8/b0zuQ72Q/YxlSIQoqbSHPahus7 OZBzvVEOJJ5sTQdLwMziyJeNG45EOSU8+c1FZLOQ018prTPmDsZq+qlR4keIkeOoWs1O fFgUx1Htcaj+gyNBbFfQpR39wjnfVd+WGOjfHICMpeerTzOrfipayM3qajOXdXSs3kPW F3ubUjxZ6qUk31JXaND1lpgWaG8T0wA85C6RGBQ5mwsy+Ys5RVswu1S5R/zsvV71NuI9 cH90t62FJSRrumDuK4P1c8/0JZ2BtLWfDB7IvQSoO6lDTGr+UEqhSeHlganMp+/TQG2j IKqQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n1si39658384jav.34.2021.11.09.15.51.56; Tue, 09 Nov 2021 15:52:09 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235901AbhKINbT convert rfc822-to-8bit (ORCPT + 97 others); Tue, 9 Nov 2021 08:31:19 -0500 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:49259 "EHLO relay6-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235585AbhKINbS (ORCPT ); Tue, 9 Nov 2021 08:31:18 -0500 Received: (Authenticated sender: miquel.raynal@bootlin.com) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 51995C0004; Tue, 9 Nov 2021 13:28:29 +0000 (UTC) Date: Tue, 9 Nov 2021 14:28:28 +0100 From: Miquel Raynal To: Cai Huoqing Cc: Richard Weinberger , Vignesh Raghavendra , , Subject: Re: [PATCH] mtd: rawnand: denali: Add the dependency on HAS_IOMEM Message-ID: <20211109142828.3e4ec837@xps13> In-Reply-To: <20211109125457.213-1-caihuoqing@baidu.com> References: <20211109125457.213-1-caihuoqing@baidu.com> Organization: Bootlin X-Mailer: Claws Mail 3.17.7 (GTK+ 2.24.32; x86_64-pc-linux-gnu) 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 Hi Cai, caihuoqing@baidu.com wrote on Tue, 9 Nov 2021 20:54:55 +0800: > The helper function devm_platform_ioremap_resource_xxx() > needs HAS_IOMEM enabled, so add the dependency on HAS_IOMEM. > > Signed-off-by: Cai Huoqing > --- Can you please add a Fixes tag? > drivers/mtd/nand/raw/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/mtd/nand/raw/Kconfig b/drivers/mtd/nand/raw/Kconfig > index 67b7cb67c030..0a45d3c6c15b 100644 > --- a/drivers/mtd/nand/raw/Kconfig > +++ b/drivers/mtd/nand/raw/Kconfig > @@ -26,7 +26,7 @@ config MTD_NAND_DENALI_PCI > config MTD_NAND_DENALI_DT > tristate "Denali NAND controller as a DT device" > select MTD_NAND_DENALI > - depends on HAS_DMA && HAVE_CLK && OF > + depends on HAS_DMA && HAVE_CLK && OF && HAS_IOMEM > help > Enable the driver for NAND flash on platforms using a Denali NAND > controller as a DT device. Thanks, Miquèl