From: Bryan Wu Date: Mon, 22 Sep 2008 12:23:55 +0000 (+0800) Subject: Blackfin arch: add dma mapping stub for musb driver port X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=31f3d4a317ae1541bf25d0efbf4551855bed0d5b;p=linux-beck.git Blackfin arch: add dma mapping stub for musb driver port Signed-off-by: Bryan Wu --- diff --git a/arch/blackfin/include/asm/dma-mapping.h b/arch/blackfin/include/asm/dma-mapping.h index 1a13c2fc3667..ede748d67efd 100644 --- a/arch/blackfin/include/asm/dma-mapping.h +++ b/arch/blackfin/include/asm/dma-mapping.h @@ -80,4 +80,15 @@ extern int dma_map_sg(struct device *dev, struct scatterlist *sg, int nents, extern void dma_unmap_sg(struct device *dev, struct scatterlist *sg, int nhwentries, enum dma_data_direction direction); +static inline void dma_sync_single_for_cpu(struct device *dev, + dma_addr_t handle, size_t size, + enum dma_data_direction dir) +{ +} + +static inline void dma_sync_single_for_device(struct device *dev, + dma_addr_t handle, size_t size, + enum dma_data_direction dir) +{ +} #endif /* _BLACKFIN_DMA_MAPPING_H */