400-edma_fix_irq_request_warning.patch 874 B

12345678910111213141516171819202122
  1. --- a/Embedded/src/EDMA/dma_linux.c
  2. +++ b/Embedded/src/EDMA/dma_linux.c
  3. @@ -149,8 +149,7 @@ int32_t edma_suspend (struct pci_dev *de
  4. int32_t edma_resume(struct pci_dev *dev);
  5. int32_t initialize_edma_device(struct edma_device *device);
  6. -static irqreturn_t edma_irq_handler(int32_t irq, void * dev_id,
  7. - struct pt_regs * regs);
  8. +static irqreturn_t edma_irq_handler(int32_t irq, void * dev_id);
  9. /* Prototypes - Misc. */
  10. @@ -429,8 +428,7 @@ int32_t edma_release(struct inode * inod
  11. * Return Values: HANDLED = 1, NOT_HANDLED = 0
  12. *****************************************************************************/
  13. -static irqreturn_t edma_irq_handler(int32_t irq, void * dev_id,
  14. - struct pt_regs * regs)
  15. +static irqreturn_t edma_irq_handler(int32_t irq, void * dev_id)
  16. {
  17. uint32_t clear_bits;