2013-01-18 16:42:20 +07:00
|
|
|
/*
|
|
|
|
* DMA Mapping glue for ARC
|
|
|
|
*
|
|
|
|
* Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef ASM_ARC_DMA_MAPPING_H
|
|
|
|
#define ASM_ARC_DMA_MAPPING_H
|
|
|
|
|
2016-01-21 06:01:26 +07:00
|
|
|
extern struct dma_map_ops arc_dma_ops;
|
2013-01-22 18:23:57 +07:00
|
|
|
|
2016-01-21 06:01:26 +07:00
|
|
|
static inline struct dma_map_ops *get_dma_ops(struct device *dev)
|
2013-01-18 16:42:20 +07:00
|
|
|
{
|
2016-01-21 06:01:26 +07:00
|
|
|
return &arc_dma_ops;
|
2013-01-18 16:42:20 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|