xref: /OK3568_Linux_fs/kernel/arch/ia64/include/asm/dma-mapping.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0 */
2*4882a593Smuzhiyun #ifndef _ASM_IA64_DMA_MAPPING_H
3*4882a593Smuzhiyun #define _ASM_IA64_DMA_MAPPING_H
4*4882a593Smuzhiyun 
5*4882a593Smuzhiyun /*
6*4882a593Smuzhiyun  * Copyright (C) 2003-2004 Hewlett-Packard Co
7*4882a593Smuzhiyun  *	David Mosberger-Tang <davidm@hpl.hp.com>
8*4882a593Smuzhiyun  */
9*4882a593Smuzhiyun extern const struct dma_map_ops *dma_ops;
10*4882a593Smuzhiyun 
get_arch_dma_ops(struct bus_type * bus)11*4882a593Smuzhiyun static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)
12*4882a593Smuzhiyun {
13*4882a593Smuzhiyun 	return dma_ops;
14*4882a593Smuzhiyun }
15*4882a593Smuzhiyun 
16*4882a593Smuzhiyun #endif /* _ASM_IA64_DMA_MAPPING_H */
17