Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 1 | /* 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 Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 9 | extern const struct dma_map_ops *dma_ops; |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 10 | |
| 11 | static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus) |
| 12 | { |
David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 13 | return dma_ops; |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 14 | } |
| 15 | |
| 16 | #endif /* _ASM_IA64_DMA_MAPPING_H */ |