diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2018-03-16 14:25:41 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-03-16 19:58:27 +0100 |
commit | ab642e952f80c66c5592f0e2c35588843a813df8 (patch) | |
tree | 0ee8a756f466f2253f25b75db3a2fb1582cf6279 /fs | |
parent | f29ab49b5388b2f829cf99859bc5f8ad8ec4d06a (diff) |
dma-coherent: Add NO_DMA dummies for managed DMA API
Add dummies for dmam_{alloc,free}_coherent(), to allow compile-testing
if NO_DMA=y.
This prevents the following from showing up later:
ERROR: "dmam_alloc_coherent" [drivers/net/ethernet/arc/arc_emac.ko] undefined!
ERROR: "dmam_free_coherent" [drivers/net/ethernet/apm/xgene/xgene-enet.ko] undefined!
ERROR: "dmam_alloc_coherent" [drivers/net/ethernet/apm/xgene/xgene-enet.ko] undefined!
ERROR: "dmam_alloc_coherent" [drivers/mtd/nand/hisi504_nand.ko] undefined!
ERROR: "dmam_alloc_coherent" [drivers/mmc/host/dw_mmc.ko] undefined!
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: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions