diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2018-04-17 19:49:13 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2018-05-02 15:08:43 +0200 |
commit | 1d6efe08c80d84b1f39845707288ffd4df239c3b (patch) | |
tree | 2a503eaeb77932aa7b01957d8c8c2c0d5e41ecf9 /drivers/mmc/core/sd.c | |
parent | eef797ac13c08fae0f0ce7d2215d0951e884fa2d (diff) | |
download | linux-1d6efe08c80d84b1f39845707288ffd4df239c3b.tar.bz2 |
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>
Diffstat (limited to 'drivers/mmc/core/sd.c')
0 files changed, 0 insertions, 0 deletions