drm/ast: Fix ast_dp connection status
[drm/drm-misc.git] / arch / sparc / include / asm / dma-mapping.h
blob55c12fc2ba63b532debaed527de4779876fc85a0
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef ___ASM_SPARC_DMA_MAPPING_H
3 #define ___ASM_SPARC_DMA_MAPPING_H
5 extern const struct dma_map_ops *dma_ops;
7 static inline const struct dma_map_ops *get_arch_dma_ops(void)
9 /* sparc32 uses per-device dma_ops */
10 return IS_ENABLED(CONFIG_SPARC64) ? dma_ops : NULL;
13 #endif