Skip to content

Commit 2e69e18

Browse files
caihuoqing1990miquelraynal
authored andcommitted
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: 5f14a8c ("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
1 parent fa55b7d commit 2e69e18

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/mtd/nand/raw/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ config MTD_NAND_DENALI_PCI
2626
config MTD_NAND_DENALI_DT
2727
tristate "Denali NAND controller as a DT device"
2828
select MTD_NAND_DENALI
29-
depends on HAS_DMA && HAVE_CLK && OF
29+
depends on HAS_DMA && HAVE_CLK && OF && HAS_IOMEM
3030
help
3131
Enable the driver for NAND flash on platforms using a Denali NAND
3232
controller as a DT device.

0 commit comments

Comments
 (0)