gdth_kcompat.h 459 B

12345678910111213141516171819202122232425262728293031
  1. #ifndef IRQ_HANDLED
  2. typedef void irqreturn_t;
  3. #define IRQ_NONE
  4. #define IRQ_HANDLED
  5. #endif
  6. #ifndef MODULE_LICENSE
  7. #define MODULE_LICENSE(x)
  8. #endif
  9. #ifndef __iomem
  10. #define __iomem
  11. #endif
  12. #ifndef __attribute_used__
  13. #define __attribute_used__ __devinitdata
  14. #endif
  15. #ifndef __user
  16. #define __user
  17. #endif
  18. #ifndef SERVICE_ACTION_IN
  19. #define SERVICE_ACTION_IN 0x9e
  20. #endif
  21. #ifndef READ_16
  22. #define READ_16 0x88
  23. #endif
  24. #ifndef WRITE_16
  25. #define WRITE_16 0x8a
  26. #endif