]> Git Repo - linux.git/commit
crypto: drivers - Remove depends on HAS_DMA in case of platform dependency
authorGeert Uytterhoeven <[email protected]>
Tue, 17 Apr 2018 17:49:03 +0000 (19:49 +0200)
committerHerbert Xu <[email protected]>
Sat, 28 Apr 2018 08:09:34 +0000 (16:09 +0800)
commitee1b23d1dfab7f75a18a9de36ef8d1a150f94db0
tree258e248f585b381b54b81c5512ff796aeaab909f
parentb930f3a2292d29e53caac1c82d44b655d8d40b72
crypto: drivers - 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 <[email protected]>
Reviewed-by: Mark Brown <[email protected]>
Acked-by: Robin Murphy <[email protected]>
Acked-by: Herbert Xu <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
drivers/crypto/Kconfig
This page took 0.051092 seconds and 4 git commands to generate.