Received: by 2002:a05:6a10:8395:0:0:0:0 with SMTP id n21csp595005pxh; Tue, 9 Nov 2021 15:53:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJziQ2FmPwCBEaLYSw9ofr+KxKyLziqXgcVNCeiYVataowZ7ouSK7d5V6lw0GYchEeh1HK2i X-Received: by 2002:a6b:7e49:: with SMTP id k9mr6543901ioq.212.1636502003035; Tue, 09 Nov 2021 15:53:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636502003; cv=none; d=google.com; s=arc-20160816; b=S6cTl6oTWdMMtxyb+AtFYiCriKWkARXm21C7JKvtMZ3sxRNJ9KSuzYSfF2hCev0S/9 CGDo9eXNBd7YbJ4AH6TGmZ7X93l/j5/nb7W1kpXhVD+tOlnPPJAq/Niz8avN4jhOZWkg jTpbVVXH22C8xQMcgKecsNj0JXIUuhurZcu9nXh8JLs3VN06UaXbTQhc5/THGmSMRZA8 ReNmJ1r5BN4qB/diSeCBu8FLqTyc2qaAixTHjsUbBsIl8xgNs94156jJTQoirrvlVaj6 18DurCs+J8/FEEGjeEaxspT9BLf5yj9de4bAs5TeBFBlD92nv7m+oHkYaBHYjDeP19aL H/8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=fuGjsWlujOPpjKP5tlpzHulUMpMHEbaprQX7/2EDS0A=; b=kK3sFW0PeGVvnanXW9mrMJe9xEqmV27d+DtYhvJehE0rMD9/8ohqKPAy6hOzBwvUak rE+rh2o9cCBLagpnCtBM8WdE9ZIWpxkbdFXwxV0v/R+Pr2/2sgtrk2InN2B2uQWaMfHB wHJ6XookIOnVYJZPPS/pkrYVhh+fO1tLUb1r78fDzJTG5NURIab/oNdherhi0lVcQuDG 7MxeWTgbxHE4gbuMes1+sZk0Zs+rdJgPE+EXZ60icK5XGfg0rQ1dWYFMO3WBWMy6FJDK lyOrWfu34b7k574XxgAarG8xVZGpYZpFBvKLlCr6q08iVkdx3pRnEz4UtWF5KUqRY93V DYnw== 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 j8si49021169ils.92.2021.11.09.15.53.10; Tue, 09 Nov 2021 15:53:23 -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 S233904AbhKINu6 (ORCPT + 97 others); Tue, 9 Nov 2021 08:50:58 -0500 Received: from mx22.baidu.com ([220.181.50.185]:54252 "EHLO baidu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S231169AbhKINu5 (ORCPT ); Tue, 9 Nov 2021 08:50:57 -0500 Received: from BJHW-Mail-Ex10.internal.baidu.com (unknown [10.127.64.33]) by Forcepoint Email with ESMTPS id E07FED0C67448A1F78BC; Tue, 9 Nov 2021 21:48:04 +0800 (CST) Received: from BJHW-MAIL-EX27.internal.baidu.com (10.127.64.42) by BJHW-Mail-Ex10.internal.baidu.com (10.127.64.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Tue, 9 Nov 2021 21:48:04 +0800 Received: from LAPTOP-UKSR4ENP.internal.baidu.com (172.31.63.8) by BJHW-MAIL-EX27.internal.baidu.com (10.127.64.42) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Tue, 9 Nov 2021 21:48:04 +0800 From: Cai Huoqing To: CC: Cai Huoqing , Richard Weinberger , Vignesh Raghavendra , , Subject: [PATCH v2] mtd: rawnand: denali: Add the dependency on HAS_IOMEM Date: Tue, 9 Nov 2021 21:47:58 +0800 Message-ID: <20211109134758.417-1-caihuoqing@baidu.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [172.31.63.8] X-ClientProxiedBy: BC-Mail-EX08.internal.baidu.com (172.31.51.48) To BJHW-MAIL-EX27.internal.baidu.com (10.127.64.42) X-Baidu-BdMsfe-DateCheck: 1_BJHW-Mail-Ex10_2021-11-09 21:48:04:890 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The helper function devm_platform_ioremap_resource_xxx() needs HAS_IOMEM enabled, so add the dependency on HAS_IOMEM. Fixes: 5f14a8ca1b49 ("mtd: rawnand: denali: Make use of the helper function devm_platform_ioremap_resource_byname()") Signed-off-by: Cai Huoqing --- v1->v2: 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. -- 2.25.1