OpenCloudOS-Kernel/drivers/mtd/nand
Geert Uytterhoeven 7db782bc18 mtd: Remove depends on HAS_DMA in case of platform dependency
Remove dependencies on HAS_DMA where a Kconfig symbol depends on another
symbol that implies HAS_DMA, and, optionally, on "|| COMPILE_TEST".
In most cases this other symbol is an architecture or platform specific
symbol, or PCI.

Generic symbols and drivers without platform dependencies keep their
dependencies on HAS_DMA, to prevent compiling subsystems or drivers that
cannot work anyway.

This simplifies the dependencies, and allows to improve compile-testing.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Mark Brown <broonie@kernel.org>
Acked-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
2018-04-21 10:08:51 +02:00
..
onenand Core changes: 2018-04-04 22:11:36 +02:00
raw mtd: Remove depends on HAS_DMA in case of platform dependency 2018-04-21 10:08:51 +02:00
Kconfig mtd: Move onenand code base to drivers/mtd/nand/onenand 2018-03-15 15:40:37 +01:00
Makefile mtd: Move onenand code base to drivers/mtd/nand/onenand 2018-03-15 15:40:37 +01:00
bbt.c mtd: nand: Add core infrastructure to deal with NAND devices 2018-02-16 10:10:53 +01:00
core.c mtd: nand: Fix some function description mismatches in core.c 2018-03-29 19:41:57 +02:00