blob: 660205414f1da1c199461ccc2c2eee46ecacd3b9 [file] [log] [blame]
Vineet Gupta1162b072013-01-18 15:12:20 +05301/*
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
Christoph Hellwig052c96d2016-01-20 15:01:26 -080014extern struct dma_map_ops arc_dma_ops;
Vineet Guptafc7943d2013-01-22 16:53:57 +053015
Christoph Hellwig052c96d2016-01-20 15:01:26 -080016static inline struct dma_map_ops *get_dma_ops(struct device *dev)
Vineet Gupta1162b072013-01-18 15:12:20 +053017{
Christoph Hellwig052c96d2016-01-20 15:01:26 -080018 return &arc_dma_ops;
Vineet Gupta1162b072013-01-18 15:12:20 +053019}
20
Vineet Gupta1162b072013-01-18 15:12:20 +053021#endif