]> asedeno.scripts.mit.edu Git - linux.git/blob - arch/microblaze/include/asm/dma-mapping.h
Merge tag 'pci-v4.18-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaa...
[linux.git] / arch / microblaze / include / asm / dma-mapping.h
1 /*
2  * Implements the generic device dma API for microblaze and the pci
3  *
4  * Copyright (C) 2009-2010 Michal Simek <monstr@monstr.eu>
5  * Copyright (C) 2009-2010 PetaLogix
6  *
7  * This file is subject to the terms and conditions of the GNU General
8  * Public License. See the file COPYING in the main directory of this
9  * archive for more details.
10  *
11  * This file is base on powerpc and x86 dma-mapping.h versions
12  * Copyright (C) 2004 IBM
13  */
14
15 #ifndef _ASM_MICROBLAZE_DMA_MAPPING_H
16 #define _ASM_MICROBLAZE_DMA_MAPPING_H
17
18 /*
19  * Available generic sets of operations
20  */
21 extern const struct dma_map_ops dma_nommu_ops;
22
23 static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)
24 {
25         return &dma_nommu_ops;
26 }
27
28 #endif  /* _ASM_MICROBLAZE_DMA_MAPPING_H */