Commit 2e69e18a authored by Cai Huoqing's avatar Cai Huoqing Committed by Miquel Raynal

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: 5f14a8ca ("mtd: rawnand: denali: Make use of the helper function devm_platform_ioremap_resource_byname()")
Signed-off-by: default avatarCai Huoqing <caihuoqing@baidu.com>
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20211109134758.417-1-caihuoqing@baidu.com
parent fa55b7dc
...@@ -26,7 +26,7 @@ config MTD_NAND_DENALI_PCI ...@@ -26,7 +26,7 @@ config MTD_NAND_DENALI_PCI
config MTD_NAND_DENALI_DT config MTD_NAND_DENALI_DT
tristate "Denali NAND controller as a DT device" tristate "Denali NAND controller as a DT device"
select MTD_NAND_DENALI select MTD_NAND_DENALI
depends on HAS_DMA && HAVE_CLK && OF depends on HAS_DMA && HAVE_CLK && OF && HAS_IOMEM
help help
Enable the driver for NAND flash on platforms using a Denali NAND Enable the driver for NAND flash on platforms using a Denali NAND
controller as a DT device. controller as a DT device.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment