x86/oprofile: Fix bogus GCC-8 warning in nmi_setup()
[cris-mirror.git] / arch / nios2 / include / asm / dma-mapping.h
blob6ceb92251da0fae2ab2010d75d78c07bf5057038
1 /*
2 * Copyright (C) 2011 Tobias Klauser <tklauser@distanz.ch>
3 * Copyright (C) 2009 Wind River Systems Inc
5 * This file is subject to the terms and conditions of the GNU General
6 * Public License. See the file COPYING in the main directory of this
7 * archive for more details.
8 */
10 #ifndef _ASM_NIOS2_DMA_MAPPING_H
11 #define _ASM_NIOS2_DMA_MAPPING_H
13 extern const struct dma_map_ops nios2_dma_ops;
15 static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)
17 return &nios2_dma_ops;
20 #endif /* _ASM_NIOS2_DMA_MAPPING_H */