100-compat.patch 617 B

1234567891011121314151617181920212223
  1. --- a/src/drv_mei_cpe_linux.c
  2. +++ b/src/drv_mei_cpe_linux.c
  3. @@ -4530,7 +4530,6 @@ module_exit (MEI_module_exit);
  4. #ifdef MODULE
  5. MODULE_AUTHOR("www.lantiq.com");
  6. MODULE_DESCRIPTION("MEI CPE Driver - www.lantiq.com");
  7. -MODULE_SUPPORTED_DEVICE("MEI CPE Interface");
  8. MODULE_LICENSE ("GPL");
  9. #endif /* #ifdef MODULE*/
  10. --- a/src/drv_mei_cpe_linux.h
  11. +++ b/src/drv_mei_cpe_linux.h
  12. @@ -110,6 +110,10 @@ typedef irqreturn_t (*usedIsrHandler_t)(
  13. # endif
  14. #endif
  15. +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,17,0))
  16. +#define PDE_DATA pde_data
  17. +#endif
  18. +
  19. /**
  20. Function typedef for the Linux request_threaded_irq()
  21. */