Skip to content

Commit

Permalink
Blackfin arch: add dma mapping stub for musb driver port
Browse files Browse the repository at this point in the history
Signed-off-by: Bryan Wu <cooloney@kernel.org>
  • Loading branch information
Bryan Wu committed Sep 22, 2008
1 parent 50041ac commit 31f3d4a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions arch/blackfin/include/asm/dma-mapping.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

0 comments on commit 31f3d4a

Please sign in to comment.