Archived
1
0
This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
archive/package/kernel/ar7-atm/patches-D7.05.01.00/250-4.1_fixes.patch
Jonas Gorski 0033fd0f0b ar7-atm: fix compilation for 4.1
Add the required changes to make it compile for 4.1 again.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 46306
2015-07-12 11:57:40 +00:00

21 lines
785 B
Diff

--- a/tn7atm.c
+++ b/tn7atm.c
@@ -856,7 +856,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");
/*
@@ -880,7 +880,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 ****/