treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / mips / include / asm / dma-mapping.h
blob34de7b17b41b7215622930cfe06532921fa181f1
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_DMA_MAPPING_H
3 #define _ASM_DMA_MAPPING_H
5 #include <linux/swiotlb.h>
7 extern const struct dma_map_ops jazz_dma_ops;
9 static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)
11 #if defined(CONFIG_MACH_JAZZ)
12 return &jazz_dma_ops;
13 #else
14 return NULL;
15 #endif
18 #endif /* _ASM_DMA_MAPPING_H */