mtd: rawnand: Add 'depends on HAS_IOMEM' where missing
authorBoris Brezillon <boris.brezillon@bootlin.com>
Thu, 5 Jul 2018 09:44:57 +0000 (11:44 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 18 Jul 2018 07:34:15 +0000 (09:34 +0200)
commit45e9f40f466955c9880d59683531f6d1366b97cd
tree7c29ce082895bece8f24f7065b33e92fa4d6a750
parent4d54df433558683236298cc15dbdfee9aa928dee
mtd: rawnand: Add 'depends on HAS_IOMEM' where missing

When COMPILE_TEST is allowed and the platform needs uses the iomem API
we need to add an explicit dependency on HAS_IOMEM to avoid selection
of these drivers when building for an arch that has no iomem support
(this is the case of arch/um).

Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/raw/Kconfig