linux/drivers/lightnvm
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
..
core.c lightnvm: pass flag on graceful teardown to targets 2018-06-01 07:43:53 -06:00
Kconfig lightnvm: Remove depends on HAS_DMA in case of platform dependency 2018-06-22 12:07:11 -06:00
Makefile lightnvm: remove rrpc 2018-01-05 08:50:12 -07:00
pblk-cache.c lightnvm: pblk: kick writer on new flush points 2018-06-01 09:02:53 -06:00
pblk-core.c lightnvm: pblk: take bitmap alloc. out of critical section 2018-06-01 09:02:53 -06:00
pblk-gc.c lightnvm: pblk: fix resource leak of invalid_bitmap 2018-06-05 09:20:27 -06:00
pblk-init.c lightnvm: pblk: make symbol write_buffer_size static 2018-06-05 09:19:08 -06:00
pblk-map.c lightnvm: pblk: fail gracefully on line alloc. failure 2018-06-01 07:43:53 -06:00
pblk-rb.c lightnvm: pblk: kick writer on new flush points 2018-06-01 09:02:53 -06:00
pblk-read.c lightnvm: pblk: remove unnecessary bio_get/put 2018-06-01 09:02:53 -06:00
pblk-recovery.c lightnvm: pblk: only try to recover lines with written smeta 2018-06-01 09:02:53 -06:00
pblk-rl.c lightnvm: pblk: garbage collect lines with failed writes 2018-06-01 09:02:53 -06:00
pblk-sysfs.c lightnvm: pblk: garbage collect lines with failed writes 2018-06-01 09:02:53 -06:00
pblk-write.c lightnvm: pblk: garbage collect lines with failed writes 2018-06-01 09:02:53 -06:00
pblk.h lightnvm: pblk: kick writer on new flush points 2018-06-01 09:02:53 -06:00