diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2018-04-17 19:49:18 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-04-18 11:28:19 +0100 |
commit | e5b43ed2f06ed8729ac22047a0ac1c5c4bc40003 (patch) | |
tree | 7dc8c4db4ebabdfba15081517776f1e4d7028367 /drivers/spi/spi-dw-pci.c | |
parent | d5898e19c0d74cd41b9f5c8c8ea87e559c3fe0c1 (diff) | |
download | linux-e5b43ed2f06ed8729ac22047a0ac1c5c4bc40003.tar.bz2 |
spi: 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>
Acked-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-dw-pci.c')
0 files changed, 0 insertions, 0 deletions