]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6f1cac129de6a70fa5e9fa6bef08d896aee722ae
tree7c29ce082895bece8f24f7065b33e92fa4d6a750
parentc702fb85479d4127c37b723c89624aa4871f6787
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