device.h 436 B

12345678910111213141516171819202122232425
  1. /*
  2. * Arch specific extensions to struct device
  3. *
  4. * This file is released under the GPLv2
  5. */
  6. #ifndef _ASM_MIPS_DEVICE_H
  7. #define _ASM_MIPS_DEVICE_H
  8. struct dma_map_ops;
  9. struct dev_archdata {
  10. /* DMA operations on that device */
  11. struct dma_map_ops *dma_ops;
  12. #ifdef CONFIG_DMA_PERDEV_COHERENT
  13. /* Non-zero if DMA is coherent with CPU caches */
  14. bool dma_coherent;
  15. #endif
  16. };
  17. struct pdev_archdata {
  18. };
  19. #endif /* _ASM_MIPS_DEVICE_H*/