Received: by 2002:a05:6a10:8395:0:0:0:0 with SMTP id n21csp590356pxh; Tue, 9 Nov 2021 15:48:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJxbEjmYWBd5whYqy+Pw9Bvt4JPQQt2mZSqvrUyXvgjhUnV3OiplrRgapG6ErsYPrv/UmyFC X-Received: by 2002:a92:cda2:: with SMTP id g2mr8278115ild.46.1636501690776; Tue, 09 Nov 2021 15:48:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636501690; cv=none; d=google.com; s=arc-20160816; b=wQYghdH+G+3DOnn6GTv0+hEbi7aYoN0spKfQQM5fsvYXq+9gWu6YaZhkeP6Dm32VEw X2snhskLu+/dFrsuQHQhvmQJ32CWObSzgO5jHC1H4EhqB/uTYfJSQgPLh/giQ9IfEfTz X3W18hwkSpk3TKT3eEQdiEJs2ioh+v0KuoVtbyn58ITW/yg62qHbMEOksFBmUCSqRdT7 laIZO7PR2zBeJW7A8gNhhnr1FtvBTK51xXhBSGyilew+8ymU+rt+k2TUERe9lJdfq/+2 atBMxU0nlCJhujpJCQGOVOJVwbjB5NhMH8kUx+Hpfln2bElJh3MAwS2TML4gGNT4gGVp ML6Q== 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=XIENcxL2rS7IBKFHck90B+5MO0GtyxBZ9oHSPVoZUW4=; b=Ou62qsAELgKWpMQHHxGqamcuvYeCsY7o3AutmeMKbWjGC6XnZ1srym22lcN6oFwb/b NKPF4FhpocwcyV69BjD8Lt7imeyWeJtgQbSGp5wUEAw6WIkP5AnH8BvtLhWETLsVl3O+ 4bWTE/0VuFJGpJXufWM/czP17/jrkOvQjSzCeIDKbZ0XCTiiIUVi+b3CYNr39CyLA4Jb ppUuQB3gkTtMNag7YOw/UPQWwhYRhC8c1eEs7lGrxksiJMQp1MtASfXvCOZirHR35Cmy bvxJKZrk5Jp6iu1W9PPoLeKFmOvLBis/q6clipYkUele+hcfPPBYneTqSB4ZGcysLWRz iKnA== 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 y5si44833229ill.62.2021.11.09.15.47.58; Tue, 09 Nov 2021 15:48:10 -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 S237570AbhKIM56 (ORCPT + 97 others); Tue, 9 Nov 2021 07:57:58 -0500 Received: from mx24.baidu.com ([111.206.215.185]:60706 "EHLO baidu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S230238AbhKIM56 (ORCPT ); Tue, 9 Nov 2021 07:57:58 -0500 Received: from BC-Mail-Ex24.internal.baidu.com (unknown [172.31.51.18]) by Forcepoint Email with ESMTPS id 288BCCBA614954A7DA0A; Tue, 9 Nov 2021 20:55:03 +0800 (CST) Received: from BJHW-MAIL-EX27.internal.baidu.com (10.127.64.42) by BC-Mail-Ex24.internal.baidu.com (172.31.51.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2242.12; Tue, 9 Nov 2021 20:55:02 +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 20:55:02 +0800 From: Cai Huoqing To: CC: Cai Huoqing , Richard Weinberger , Vignesh Raghavendra , , Subject: [PATCH] mtd: rawnand: denali: Add the dependency on HAS_IOMEM Date: Tue, 9 Nov 2021 20:54:55 +0800 Message-ID: <20211109125457.213-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: BJHW-Mail-Ex11.internal.baidu.com (10.127.64.34) To BJHW-MAIL-EX27.internal.baidu.com (10.127.64.42) 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. Signed-off-by: Cai Huoqing --- 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