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/plip.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/plip.c')
-rw-r--r-- | drivers/net/plip.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/plip.c b/drivers/net/plip.c index d4f54e9798cd..c0b333d2917a 100644 --- a/drivers/net/plip.c +++ b/drivers/net/plip.c | |||
@@ -143,7 +143,7 @@ static void plip_bh(struct net_device *dev); | |||
143 | static void plip_timer_bh(struct net_device *dev); | 143 | static void plip_timer_bh(struct net_device *dev); |
144 | 144 | ||
145 | /* Interrupt handler */ | 145 | /* Interrupt handler */ |
146 | static void plip_interrupt(int irq, void *dev_id, struct pt_regs *regs); | 146 | static void plip_interrupt(int irq, void *dev_id); |
147 | 147 | ||
148 | /* Functions for DEV methods */ | 148 | /* Functions for DEV methods */ |
149 | static int plip_tx_packet(struct sk_buff *skb, struct net_device *dev); | 149 | static int plip_tx_packet(struct sk_buff *skb, struct net_device *dev); |
@@ -385,7 +385,7 @@ plip_timer_bh(struct net_device *dev) | |||
385 | struct net_local *nl = netdev_priv(dev); | 385 | struct net_local *nl = netdev_priv(dev); |
386 | 386 | ||
387 | if (!(atomic_read (&nl->kill_timer))) { | 387 | if (!(atomic_read (&nl->kill_timer))) { |
388 | plip_interrupt (-1, dev, NULL); | 388 | plip_interrupt (-1, dev); |
389 | 389 | ||
390 | schedule_delayed_work(&nl->timer, 1); | 390 | schedule_delayed_work(&nl->timer, 1); |
391 | } | 391 | } |
@@ -902,7 +902,7 @@ plip_error(struct net_device *dev, struct net_local *nl, | |||
902 | 902 | ||
903 | /* Handle the parallel port interrupts. */ | 903 | /* Handle the parallel port interrupts. */ |
904 | static void | 904 | static void |
905 | plip_interrupt(int irq, void *dev_id, struct pt_regs * regs) | 905 | plip_interrupt(int irq, void *dev_id) |
906 | { | 906 | { |
907 | struct net_device *dev = dev_id; | 907 | struct net_device *dev = dev_id; |
908 | struct net_local *nl; | 908 | struct net_local *nl; |