Linux 4.18.10
[linux/fpc-iii.git] / arch / microblaze / include / asm / dma-mapping.h
blobadd50c1373bf422b5f84f374894b412ef8e4a6a3
1 /*
2 * Implements the generic device dma API for microblaze and the pci
4 * Copyright (C) 2009-2010 Michal Simek <monstr@monstr.eu>
5 * Copyright (C) 2009-2010 PetaLogix
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.
11 * This file is base on powerpc and x86 dma-mapping.h versions
12 * Copyright (C) 2004 IBM
15 #ifndef _ASM_MICROBLAZE_DMA_MAPPING_H
16 #define _ASM_MICROBLAZE_DMA_MAPPING_H
19 * Available generic sets of operations
21 extern const struct dma_map_ops dma_nommu_ops;
23 static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)
25 return &dma_nommu_ops;
28 #endif /* _ASM_MICROBLAZE_DMA_MAPPING_H */