forked from Minki/linux
c5cd037d1c
For architectures that just use the generic dma_noop_ops we can provide a generic version of dma-mapping.h. Signed-off-by: Christoph Hellwig <hch@lst.de>
11 lines
257 B
C
11 lines
257 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_noop_ops;
|
|
}
|
|
|
|
#endif /* _ASM_GENERIC_DMA_MAPPING_H */
|