netxen_nic_main don't use deprecated irq flags
authorAndrew Morton <akpm@linux-foundation.org>
Fri, 11 May 2007 05:53:00 +0000 (22:53 -0700)
committerJeff Garzik <jeff@garzik.org>
Fri, 11 May 2007 21:53:28 +0000 (17:53 -0400)
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>
drivers/net/netxen/netxen_nic_main.c

index 4e32bb678ea94b8e7ded7ad9b0311718849c3ca3..2c5c6d20e6e91c8ca8609e67e2ec474e9b53e797 100644 (file)
@@ -735,7 +735,7 @@ static int netxen_nic_open(struct net_device *netdev)
                }
                adapter->irq = adapter->ahw.pdev->irq;
                err = request_irq(adapter->ahw.pdev->irq, netxen_intr,
-                                 SA_SHIRQ | SA_SAMPLE_RANDOM, netdev->name,
+                                 IRQF_SHARED|IRQF_SAMPLE_RANDOM, netdev->name,
                                  adapter);
                if (err) {
                        printk(KERN_ERR "request_irq failed with: %d\n", err);