]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Blackfin arch: add dma mapping stub for musb driver port
authorBryan Wu <cooloney@kernel.org>
Mon, 22 Sep 2008 12:23:55 +0000 (20:23 +0800)
committerBryan Wu <cooloney@kernel.org>
Mon, 22 Sep 2008 12:23:55 +0000 (20:23 +0800)
Signed-off-by: Bryan Wu <cooloney@kernel.org>
arch/blackfin/include/asm/dma-mapping.h

index 1a13c2fc3667326a78b7267cf27fb71de75922f5..ede748d67efdc6bed10051a746a9fa53499e7469 100644 (file)
@@ -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 */