dma-mapping.h (9a87ffc99ec8eb8d35eed7c4f816d75f5cc9662e) dma-mapping.h (f81f335a56a8e90d5cac38b79661e6fbf35249f1)
1/* 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(void)
8{
1/* 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(void)
8{
9#ifdef CONFIG_ALPHA_JENSEN
10 return NULL;
11#else
12 return &alpha_pci_ops;
9 return &alpha_pci_ops;
13#endif
14}
15
16#endif /* _ALPHA_DMA_MAPPING_H */
10}
11
12#endif /* _ALPHA_DMA_MAPPING_H */