mtd: rawnand: atmel: Allow selection of this driver when COMPILE_TEST=y
authorBoris Brezillon <boris.brezillon@bootlin.com>
Mon, 9 Jul 2018 20:09:24 +0000 (22:09 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 18 Jul 2018 08:10:16 +0000 (10:10 +0200)
commit88a40e7dca00fef96e4396c3e8c0077ab96b15a6
tree1b44859d7ce879a0c474f7dd63da9d27883c8e6b
parentd28395c9083de4ee03e51b804d7acc591191bb00
mtd: rawnand: atmel: Allow selection of this driver when COMPILE_TEST=y

It just makes NAND maintainers' life easier by allowing them to
compile-test this driver without having ARCH_AT91 enabled.

We also need to add a dependency on HAS_IOMEM to make sure the driver
compiles correctly.

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