diff options
Diffstat (limited to 'drivers/net/pcmcia')
-rw-r--r-- | drivers/net/pcmcia/fmvj18x_cs.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/net/pcmcia/fmvj18x_cs.c b/drivers/net/pcmcia/fmvj18x_cs.c index 8c719b4df544..949c6df74c97 100644 --- a/drivers/net/pcmcia/fmvj18x_cs.c +++ b/drivers/net/pcmcia/fmvj18x_cs.c | |||
@@ -731,18 +731,13 @@ module_exit(exit_fmvj18x_cs); | |||
731 | 731 | ||
732 | /*====================================================================*/ | 732 | /*====================================================================*/ |
733 | 733 | ||
734 | static irqreturn_t fjn_interrupt(int irq, void *dev_id) | 734 | static irqreturn_t fjn_interrupt(int dummy, void *dev_id) |
735 | { | 735 | { |
736 | struct net_device *dev = dev_id; | 736 | struct net_device *dev = dev_id; |
737 | local_info_t *lp = netdev_priv(dev); | 737 | local_info_t *lp = netdev_priv(dev); |
738 | kio_addr_t ioaddr; | 738 | kio_addr_t ioaddr; |
739 | unsigned short tx_stat, rx_stat; | 739 | unsigned short tx_stat, rx_stat; |
740 | 740 | ||
741 | if (lp == NULL) { | ||
742 | printk(KERN_NOTICE "fjn_interrupt(): irq %d for " | ||
743 | "unknown device.\n", irq); | ||
744 | return IRQ_NONE; | ||
745 | } | ||
746 | ioaddr = dev->base_addr; | 741 | ioaddr = dev->base_addr; |
747 | 742 | ||
748 | /* avoid multiple interrupts */ | 743 | /* avoid multiple interrupts */ |