mtd: rawnand: denali: Add the dependency on HAS_IOMEM
authorCai Huoqing <caihuoqing@baidu.com>
Tue, 9 Nov 2021 13:47:58 +0000 (21:47 +0800)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 3 Dec 2021 13:33:43 +0000 (14:33 +0100)
commit2e69e18aec4c1d308b2da461cb6d21500fa441c7
treec674010f11ef74028b16e0b0160978e93bfd33e2
parentfa55b7dcdc43c1aa1ba12bca9d2dd4318c2a0dbf
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
drivers/mtd/nand/raw/Kconfig