arc: convert to dma_map_ops
[deliverable/linux.git] / arch / arc / include / asm / dma-mapping.h
1 /*
2 * DMA Mapping glue for ARC
3 *
4 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
10
11 #ifndef ASM_ARC_DMA_MAPPING_H
12 #define ASM_ARC_DMA_MAPPING_H
13
14 extern struct dma_map_ops arc_dma_ops;
15
16 static inline struct dma_map_ops *get_dma_ops(struct device *dev)
17 {
18 return &arc_dma_ops;
19 }
20
21 #include <asm-generic/dma-mapping-common.h>
22
23 #endif
This page took 0.04859 seconds and 5 git commands to generate.