dma-mapping.h 636 B

123456789101112131415161718192021
  1. /* DMA mapping routines for the MN10300 arch
  2. *
  3. * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
  4. * Written by David Howells (dhowells@redhat.com)
  5. *
  6. * This program is free software; you can redistribute it and/or
  7. * modify it under the terms of the GNU General Public Licence
  8. * as published by the Free Software Foundation; either version
  9. * 2 of the Licence, or (at your option) any later version.
  10. */
  11. #ifndef _ASM_DMA_MAPPING_H
  12. #define _ASM_DMA_MAPPING_H
  13. extern const struct dma_map_ops mn10300_dma_ops;
  14. static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)
  15. {
  16. return &mn10300_dma_ops;
  17. }
  18. #endif