dma: Add prototypes for dma mapping functions
Right now we only have the dma_sync_single_* functions, but no functions
for actually mapping a pointer. The mapping functions become necessary
when casting a pointer to unsigned long to get a dma address is not
enough. (I'm not even going so far that we'll add IOMMU support, but on
some architectures we need a place where we can check if a pointer is
DMA mappable at all)

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 20c9325 commit c8e6603d0c8d0fb39bcb63d01df80494607b5ba3
@Sascha Hauer Sascha Hauer authored on 13 Mar 2018
Showing 1 changed file
View
include/dma.h