summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/rt2500/kernel-2.6.24.patch
blob: 113573f8ed00b415b300fdcb4d054533fa0ff716 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- rt2500-1.1.0-b4/Module/rtmp_main.c~	2008-01-25 11:13:14.000000000 +0100
+++ rt2500-1.1.0-b4/Module/rtmp_main.c	2008-01-25 11:17:57.000000000 +0100
@@ -251,8 +251,6 @@
         goto err_out;
     }
 
-    SET_MODULE_OWNER(net_dev);
-
     #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0))
        SET_NETDEV_DEV(net_dev, &(pPci_Dev->dev));
     #endif
@@ -392,7 +390,7 @@
         NICDisableInterrupt(pAd);
     }
 
-    status = request_irq(pAd->pPci_Dev->irq, &RTMPIsr, SA_SHIRQ, net_dev->name, net_dev);
+    status = request_irq(pAd->pPci_Dev->irq, &RTMPIsr, IRQF_SHARED, net_dev->name, net_dev);
     if (status)
     {
         goto out_module_put;