[adm5120] fix support for 2.6.38 kernel
[openwrt.git] / package / ep80579-drivers / patches / 500-1588_fix_irq_request_warning.patch
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 ******************************************************************************/
7 -irqreturn_t timesync_isr(int irq, void *dev_id, struct pt_regs *regs)
8 +irqreturn_t timesync_isr(int irq, void *dev_id)
9 {
10 if ( !ixTimeSyncAccEventAmmsFlagGet() && !ixTimeSyncAccEventAsmsFlagGet()&&
11 !ixTimeSyncAccEventAtmFlagGet() && !ixTimeSyncAccEventPpsmFlagGet()&&
12 --- a/Embedded/src/1588/1588.h
13 +++ b/Embedded/src/1588/1588.h
14 @@ -128,7 +128,7 @@ int pci_suspend(struct pci_dev *dev, pm_
15 int pci_resume(struct pci_dev *dev);
16 int pci_probe(struct pci_dev *dev, const struct pci_device_id *id);
17 void pci_remove(struct pci_dev *dev);
18 -irqreturn_t timesync_isr(int irq, void *dev_id, struct pt_regs *regs);
19 +irqreturn_t timesync_isr(int irq, void *dev_id);
20
21 // private functions
22 int save_reg_state(void);
This page took 0.042416 seconds and 5 git commands to generate.