diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2007-05-11 01:53:00 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-05-11 17:53:28 -0400 |
commit | 1c8e039a4bce0dae0d49c5df451f338a5d19363a (patch) | |
tree | bb8de7aabf66cbdb5a272fb69627beab379104c9 /drivers/net/netxen | |
parent | e6c5fb3bd0dcf1bf3d6848fe890bf73051877a4a (diff) |
netxen_nic_main don't use deprecated irq flags
drivers/net/netxen/netxen_nic_main.c: In function 'netxen_nic_open':
drivers/net/netxen/netxen_nic_main.c:738: warning: 'deprecated_irq_flag' is deprecated (declared at include/linux/interrupt.h:66)
drivers/net/netxen/netxen_nic_main.c:738: warning: 'deprecated_irq_flag' is deprecated (declared at include/linux/interrupt.h:66)
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/netxen')
-rw-r--r-- | drivers/net/netxen/netxen_nic_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/netxen/netxen_nic_main.c b/drivers/net/netxen/netxen_nic_main.c index 4e32bb678ea9..2c5c6d20e6e9 100644 --- a/drivers/net/netxen/netxen_nic_main.c +++ b/drivers/net/netxen/netxen_nic_main.c | |||
@@ -735,7 +735,7 @@ static int netxen_nic_open(struct net_device *netdev) | |||
735 | } | 735 | } |
736 | adapter->irq = adapter->ahw.pdev->irq; | 736 | adapter->irq = adapter->ahw.pdev->irq; |
737 | err = request_irq(adapter->ahw.pdev->irq, netxen_intr, | 737 | err = request_irq(adapter->ahw.pdev->irq, netxen_intr, |
738 | SA_SHIRQ | SA_SAMPLE_RANDOM, netdev->name, | 738 | IRQF_SHARED|IRQF_SAMPLE_RANDOM, netdev->name, |
739 | adapter); | 739 | adapter); |
740 | if (err) { | 740 | if (err) { |
741 | printk(KERN_ERR "request_irq failed with: %d\n", err); | 741 | printk(KERN_ERR "request_irq failed with: %d\n", err); |