{
dma_free_coherent(dev, size, addr, handle);
}
{
dma_free_coherent(dev, size, addr, handle);
}
-static inline void dma_cache_sync(void *vaddr, size_t size,
+static inline void dma_cache_sync(struct device *dev, void *vaddr, size_t size,
enum dma_data_direction dir)
{
/* we use coherent allocation, so not much to do here. */
enum dma_data_direction dir)
{
/* we use coherent allocation, so not much to do here. */