OpenCloudOS-Kernel/include/asm-generic/dma-mapping.h

11 lines
259 B
C

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _ASM_GENERIC_DMA_MAPPING_H
#define _ASM_GENERIC_DMA_MAPPING_H
static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)
{
return &dma_direct_ops;
}
#endif /* _ASM_GENERIC_DMA_MAPPING_H */