device.h 530 B

1234567891011121314151617181920212223242526
  1. /*
  2. * Arch specific extensions to struct device
  3. *
  4. * This file is subject to the terms and conditions of the GNU General Public
  5. * License v2. See the file "COPYING" in the main directory of this archive
  6. * for more details.
  7. */
  8. #ifndef _ASM_MICROBLAZE_DEVICE_H
  9. #define _ASM_MICROBLAZE_DEVICE_H
  10. struct device_node;
  11. struct dev_archdata {
  12. /* DMA operations on that device */
  13. struct dma_map_ops *dma_ops;
  14. void *dma_data;
  15. };
  16. struct pdev_archdata {
  17. u64 dma_mask;
  18. };
  19. #endif /* _ASM_MICROBLAZE_DEVICE_H */