blob: 0ee6a5c99b16b555a85eafd156d9e252374b4117 [file] [log] [blame]
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00001/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _ALPHA_DMA_MAPPING_H
3#define _ALPHA_DMA_MAPPING_H
4
5extern const struct dma_map_ops alpha_pci_ops;
6
7static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)
8{
9#ifdef CONFIG_ALPHA_JENSEN
David Brazdil0f672f62019-12-10 10:32:29 +000010 return NULL;
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000011#else
12 return &alpha_pci_ops;
13#endif
14}
15
16#endif /* _ALPHA_DMA_MAPPING_H */