Geert Uytterhoeven 0ae52ddf5b lightnvm: 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>
Reviewed-by: Matias Bjørling <mb@lightnvm.io>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-06-22 12:07:11 -06:00
..
2018-06-08 17:21:52 -07:00
2018-06-10 13:01:12 -07:00
2018-05-29 09:59:53 -04:00
2018-06-08 11:10:58 -07:00
2018-06-04 10:58:12 -07:00
2018-06-05 10:08:27 -07:00
2018-06-07 10:23:33 -07:00
2018-06-08 17:21:52 -07:00
2018-06-08 11:02:21 -07:00
2018-06-07 14:06:31 -07:00
2018-06-10 13:01:12 -07:00
2018-06-07 10:23:33 -07:00
2018-06-05 16:14:12 -07:00
2018-06-09 10:32:39 -07:00
2018-06-07 13:04:07 -07:00
2018-06-07 10:23:33 -07:00
2018-06-07 12:34:37 -07:00
2018-06-10 13:01:12 -07:00
2018-06-08 13:08:57 -07:00
2018-06-07 12:45:58 -07:00
2018-06-05 16:11:43 -07:00
2018-06-07 14:06:31 -07:00
2018-06-04 10:58:12 -07:00
2018-06-07 12:45:58 -07:00
2018-06-05 16:14:12 -07:00
2018-06-07 12:34:37 -07:00
2018-06-08 13:08:57 -07:00
2018-06-10 16:13:24 -07:00
2018-06-10 13:01:12 -07:00
2018-06-05 09:38:39 -07:00
2018-06-09 10:32:39 -07:00
2018-06-10 13:01:12 -07:00
2018-06-07 10:23:33 -07:00
2018-06-07 12:34:37 -07:00
2018-06-05 16:20:22 -07:00
2018-06-08 09:24:54 -07:00