Coccinelle: coccicheck: fix typo
[sfrench/cifs-2.6.git] / arch / cris / include / asm / dma-mapping.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_CRIS_DMA_MAPPING_H
3 #define _ASM_CRIS_DMA_MAPPING_H
4
5 #ifdef CONFIG_PCI
6 extern const struct dma_map_ops v32_dma_ops;
7
8 static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)
9 {
10         return &v32_dma_ops;
11 }
12 #else
13 static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)
14 {
15         BUG();
16         return NULL;
17 }
18 #endif
19
20 #endif