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/tc35815.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/tc35815.c')
-rw-r--r-- | drivers/net/tc35815.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/tc35815.c b/drivers/net/tc35815.c index 60f026509487..81ed82f0b520 100644 --- a/drivers/net/tc35815.c +++ b/drivers/net/tc35815.c | |||
@@ -453,7 +453,7 @@ static int __devinit tc35815_probe1(struct pci_dev *pdev, unsigned int base_addr | |||
453 | static int tc35815_open(struct net_device *dev); | 453 | static int tc35815_open(struct net_device *dev); |
454 | static int tc35815_send_packet(struct sk_buff *skb, struct net_device *dev); | 454 | static int tc35815_send_packet(struct sk_buff *skb, struct net_device *dev); |
455 | static void tc35815_tx_timeout(struct net_device *dev); | 455 | static void tc35815_tx_timeout(struct net_device *dev); |
456 | static irqreturn_t tc35815_interrupt(int irq, void *dev_id, struct pt_regs *regs); | 456 | static irqreturn_t tc35815_interrupt(int irq, void *dev_id); |
457 | static void tc35815_rx(struct net_device *dev); | 457 | static void tc35815_rx(struct net_device *dev); |
458 | static void tc35815_txdone(struct net_device *dev); | 458 | static void tc35815_txdone(struct net_device *dev); |
459 | static int tc35815_close(struct net_device *dev); | 459 | static int tc35815_close(struct net_device *dev); |
@@ -1044,7 +1044,7 @@ static void tc35815_fatal_error_interrupt(struct net_device *dev, int status) | |||
1044 | * The typical workload of the driver: | 1044 | * The typical workload of the driver: |
1045 | * Handle the network interface interrupts. | 1045 | * Handle the network interface interrupts. |
1046 | */ | 1046 | */ |
1047 | static irqreturn_t tc35815_interrupt(int irq, void *dev_id, struct pt_regs * regs) | 1047 | static irqreturn_t tc35815_interrupt(int irq, void *dev_id) |
1048 | { | 1048 | { |
1049 | struct net_device *dev = dev_id; | 1049 | struct net_device *dev = dev_id; |
1050 | struct tc35815_regs *tr; | 1050 | struct tc35815_regs *tr; |