889b21f954
Minimum supported kernel is 3.18, so we don't need to test for anything older. In addition, the API hasn't changed since then, so we don't need to check for any kernel version at all. This helps to keeps the amount of changes more managable. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
20 lines
785 B
Diff
20 lines
785 B
Diff
--- a/tn7atm.c
|
|
+++ b/tn7atm.c
|
|
@@ -845,7 +845,7 @@ static int __init tn7atm_irq_request (st
|
|
|
|
priv->sar_irq = LNXINTNUM (ATM_SAR_INT); /* Interrupt line # */
|
|
|
|
- if (request_irq (priv->sar_irq, tn7atm_sar_irq, IRQF_DISABLED, "SAR ", dev))
|
|
+ if (request_irq (priv->sar_irq, tn7atm_sar_irq, 0, "SAR ", dev))
|
|
printk ("Could not register tn7atm_sar_irq\n");
|
|
|
|
/*
|
|
@@ -869,7 +869,7 @@ static int __init tn7atm_irq_request (st
|
|
* Reigster Receive interrupt A
|
|
*/
|
|
priv->dsl_irq = LNXINTNUM (ATM_DSL_INT); /* Interrupt line # */
|
|
- if (request_irq (priv->dsl_irq, tn7atm_dsl_irq, IRQF_DISABLED, "DSL ", dev))
|
|
+ if (request_irq (priv->dsl_irq, tn7atm_dsl_irq, 0, "DSL ", dev))
|
|
printk ("Could not register tn7atm_dsl_irq\n");
|
|
|
|
/***** VRB Tasklet Mode ****/
|