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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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.