device.h 425 B

1234567891011121314151617181920212223242526
  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. #ifdef CONFIG_DMABOUNCE
  10. struct dmabounce_device_info *dmabounce;
  11. #endif
  12. #ifdef CONFIG_IOMMU_API
  13. void *iommu; /* private IOMMU data */
  14. #endif
  15. };
  16. struct omap_device;
  17. struct pdev_archdata {
  18. #ifdef CONFIG_ARCH_OMAP
  19. struct omap_device *od;
  20. #endif
  21. };
  22. #endif