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*4882a593Smuzhiyunstatic 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