]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: Remove depends on HAS_DMA in case of platform dependency
authorGeert Uytterhoeven <geert@linux-m68k.org>
Tue, 17 Apr 2018 17:49:13 +0000 (19:49 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 2 May 2018 13:08:43 +0000 (15:08 +0200)
commit1d54893e9d5636d0689919fa8d9924a0cde2e71a
tree2a503eaeb77932aa7b01957d8c8c2c0d5e41ecf9
parentd33349e83d966523820922bc60c50992bdd9d792
mmc: 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: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/Kconfig