summaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2018-03-16 16:25:41 +0300
committerChristoph Hellwig <hch@lst.de>2018-03-16 21:58:27 +0300
commitab642e952f80c66c5592f0e2c35588843a813df8 (patch)
tree0ee8a756f466f2253f25b75db3a2fb1582cf6279 /virt
parentf29ab49b5388b2f829cf99859bc5f8ad8ec4d06a (diff)
downloadlinux-ab642e952f80c66c5592f0e2c35588843a813df8.tar.xz
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 'virt')
0 files changed, 0 insertions, 0 deletions