500-1588_fix_irq_request_warning.patch 975 B

12345678910111213141516171819202122
  1. --- a/Embedded/src/1588/1588.c
  2. +++ b/Embedded/src/1588/1588.c
  3. @@ -631,7 +631,7 @@ int restore_interrupts(void)
  4. IRQ_NONE => this device did not interrupt
  5. ******************************************************************************/
  6. -irqreturn_t timesync_isr(int irq, void *dev_id, struct pt_regs *regs)
  7. +irqreturn_t timesync_isr(int irq, void *dev_id)
  8. {
  9. if ( !ixTimeSyncAccEventAmmsFlagGet() && !ixTimeSyncAccEventAsmsFlagGet()&&
  10. !ixTimeSyncAccEventAtmFlagGet() && !ixTimeSyncAccEventPpsmFlagGet()&&
  11. --- a/Embedded/src/1588/1588.h
  12. +++ b/Embedded/src/1588/1588.h
  13. @@ -128,7 +128,7 @@ int pci_suspend(struct pci_dev *dev, pm_
  14. int pci_resume(struct pci_dev *dev);
  15. int pci_probe(struct pci_dev *dev, const struct pci_device_id *id);
  16. void pci_remove(struct pci_dev *dev);
  17. -irqreturn_t timesync_isr(int irq, void *dev_id, struct pt_regs *regs);
  18. +irqreturn_t timesync_isr(int irq, void *dev_id);
  19. // private functions
  20. int save_reg_state(void);