device.h 455 B

123456789101112131415161718192021222324252627
  1. /*
  2. * Arch specific extensions to struct device
  3. *
  4. * This file is released under the GPLv2
  5. */
  6. #ifndef ASMARM_DEVICE_H
  7. #define ASMARM_DEVICE_H
  8. struct dev_archdata {
  9. struct dma_map_ops *dma_ops;
  10. #ifdef CONFIG_DMABOUNCE
  11. struct dmabounce_device_info *dmabounce;
  12. #endif
  13. #ifdef CONFIG_IOMMU_API
  14. void *iommu; /* private IOMMU data */
  15. #endif
  16. };
  17. struct omap_device;
  18. struct pdev_archdata {
  19. #ifdef CONFIG_ARCH_OMAP
  20. struct omap_device *od;
  21. #endif
  22. };
  23. #endif