summaryrefslogtreecommitdiff
path: root/packages/wifistix/wifistix-modules/realtime-kernel.patch
blob: 49a86c29de193c416e071f5da22618847197a831 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Index: src_cf8385/if/if_mcf/if_cf.c
===================================================================
--- src_cf8385.orig/if/if_mcf/if_cf.c
+++ src_cf8385/if/if_mcf/if_cf.c
@@ -238,10 +238,9 @@ static void init_cf_addr(wlan_private *p
  *  @brief This function is interrupt handler.
  *  @param iqr		interrupt number
  *  @param dev_id	pointer to net_device structure
- *  @param regs		pointer to pt_regs structure
  *  @return 	   	n/a
  */
-static IRQ_RET_TYPE cf_interrupt(int irq, void *dev_id, struct pt_regs *regs)
+static IRQ_RET_TYPE cf_interrupt(int irq, void *dev_id)
 {
   	struct net_device *dev = dev_id;
   	wlan_private *priv    = (wlan_private *) dev->priv;
@@ -710,7 +709,7 @@ int sbi_register_dev(wlan_private * priv
 
   	PRINTM(INFO, "IRQ %d\n", cardp.irq);
 
-  	ret = request_irq(cardp.irq, cf_interrupt, SA_SHIRQ, 
+  	ret = request_irq(cardp.irq, cf_interrupt, IRQF_SHARED, 
       				"cf_irq", priv->wlan_dev.netdev );
            
   	if (ret != 0)