]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - arch/microblaze/include/asm/dma-mapping.h
UBUNTU: Ubuntu-4.15.0-96.97
[mirror_ubuntu-bionic-kernel.git] / arch / microblaze / include / asm / dma-mapping.h
CommitLineData
ccfe27d7
MS
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
ccfe27d7
MS
18/*
19 * Available generic sets of operations
20 */
5299709d 21extern const struct dma_map_ops dma_direct_ops;
ccfe27d7 22
815dd187 23static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)
ccfe27d7 24{
3b3b6853 25 return &dma_direct_ops;
ccfe27d7
MS
26}
27
ccfe27d7 28#endif /* _ASM_MICROBLAZE_DMA_MAPPING_H */