blob: a5d9d788eede1f1d85181704ac4578ed1ad0caa2 [file] [log] [blame]
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00001/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _ASM_IA64_DMA_MAPPING_H
3#define _ASM_IA64_DMA_MAPPING_H
4
5/*
6 * Copyright (C) 2003-2004 Hewlett-Packard Co
7 * David Mosberger-Tang <davidm@hpl.hp.com>
8 */
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00009extern const struct dma_map_ops *dma_ops;
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000010
11static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)
12{
David Brazdil0f672f62019-12-10 10:32:29 +000013 return dma_ops;
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000014}
15
16#endif /* _ASM_IA64_DMA_MAPPING_H */