diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-05 19:32:01 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-05 19:32:01 -0400 |
commit | 44aefd2706bb6f5b65ba2c38cd89e7609e2b43d3 (patch) | |
tree | 93824f573767da634fbc82c388b6d33cc454212b /drivers/net/ariadne.c | |
parent | c1a26e7d40fb814716950122353a1a556844286b (diff) | |
parent | 7d12e780e003f93433d49ce78cfedf4b4c52adc5 (diff) |
Merge git://git.infradead.org/~dhowells/irq-2.6
* git://git.infradead.org/~dhowells/irq-2.6:
IRQ: Maintain regs pointer globally rather than passing to IRQ handlers
IRQ: Typedef the IRQ handler function type
IRQ: Typedef the IRQ flow handler function type
Diffstat (limited to 'drivers/net/ariadne.c')
-rw-r--r-- | drivers/net/ariadne.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ariadne.c b/drivers/net/ariadne.c index 3aef3c10d56f..9dfc09b181c1 100644 --- a/drivers/net/ariadne.c +++ b/drivers/net/ariadne.c | |||
@@ -120,7 +120,7 @@ static int ariadne_start_xmit(struct sk_buff *skb, struct net_device *dev); | |||
120 | static void ariadne_tx_timeout(struct net_device *dev); | 120 | static void ariadne_tx_timeout(struct net_device *dev); |
121 | static int ariadne_rx(struct net_device *dev); | 121 | static int ariadne_rx(struct net_device *dev); |
122 | static void ariadne_reset(struct net_device *dev); | 122 | static void ariadne_reset(struct net_device *dev); |
123 | static irqreturn_t ariadne_interrupt(int irq, void *data, struct pt_regs *fp); | 123 | static irqreturn_t ariadne_interrupt(int irq, void *data); |
124 | static int ariadne_close(struct net_device *dev); | 124 | static int ariadne_close(struct net_device *dev); |
125 | static struct net_device_stats *ariadne_get_stats(struct net_device *dev); | 125 | static struct net_device_stats *ariadne_get_stats(struct net_device *dev); |
126 | #ifdef HAVE_MULTICAST | 126 | #ifdef HAVE_MULTICAST |
@@ -416,7 +416,7 @@ static inline void ariadne_reset(struct net_device *dev) | |||
416 | } | 416 | } |
417 | 417 | ||
418 | 418 | ||
419 | static irqreturn_t ariadne_interrupt(int irq, void *data, struct pt_regs *fp) | 419 | static irqreturn_t ariadne_interrupt(int irq, void *data) |
420 | { | 420 | { |
421 | struct net_device *dev = (struct net_device *)data; | 421 | struct net_device *dev = (struct net_device *)data; |
422 | volatile struct Am79C960 *lance = (struct Am79C960*)dev->base_addr; | 422 | volatile struct Am79C960 *lance = (struct Am79C960*)dev->base_addr; |