diff options
author | Cai Huoqing <caihuoqing@baidu.com> | 2021-11-09 21:47:58 +0800 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2021-12-03 14:33:43 +0100 |
commit | 2e69e18aec4c1d308b2da461cb6d21500fa441c7 (patch) | |
tree | c674010f11ef74028b16e0b0160978e93bfd33e2 /drivers/mtd/nand | |
parent | fa55b7dcdc43c1aa1ba12bca9d2dd4318c2a0dbf (diff) | |
download | linux-stable-2e69e18aec4c1d308b2da461cb6d21500fa441c7.tar.gz linux-stable-2e69e18aec4c1d308b2da461cb6d21500fa441c7.tar.bz2 linux-stable-2e69e18aec4c1d308b2da461cb6d21500fa441c7.zip |
mtd: rawnand: denali: Add the dependency on HAS_IOMEM
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 <caihuoqing@baidu.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20211109134758.417-1-caihuoqing@baidu.com
Diffstat (limited to 'drivers/mtd/nand')
-rw-r--r-- | drivers/mtd/nand/raw/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
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. |