1 Index: trunk/ath/if_ath.c
2 ===================================================================
3 --- trunk/ath/if_ath.c (revision 1751)
4 +++ trunk/ath/if_ath.c (revision 1752)
8 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19)
9 +ath_intr(int irq, void *dev_id)
11 ath_intr(int irq, void *dev_id, struct pt_regs *regs)
14 struct net_device *dev = dev_id;
15 Index: trunk/ath/if_athvar.h
16 ===================================================================
17 --- trunk/ath/if_athvar.h (revision 1726)
18 +++ trunk/ath/if_athvar.h (revision 1752)
20 void ath_suspend(struct net_device *);
21 void ath_shutdown(struct net_device *);
22 -irqreturn_t ath_intr(int, void *, struct pt_regs *);
23 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19)
24 +irqreturn_t ath_intr(int, void *);
26 +irqreturn_t ath_intr(int, void *, struct pt_regs *regs);
28 int ath_ioctl_ethtool(struct ath_softc *, int, void __user *);
29 void bus_read_cachesize(struct ath_softc *, u_int8_t *);