dma-mapping.h 342 B

12345678910111213141516
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef _ALPHA_DMA_MAPPING_H
  3. #define _ALPHA_DMA_MAPPING_H
  4. extern const struct dma_map_ops alpha_pci_ops;
  5. static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)
  6. {
  7. #ifdef CONFIG_ALPHA_JENSEN
  8. return NULL;
  9. #else
  10. return &alpha_pci_ops;
  11. #endif
  12. }
  13. #endif /* _ALPHA_DMA_MAPPING_H */