summaryrefslogtreecommitdiff
path: root/drivers/mxc/security/dryice.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mxc/security/dryice.c')
-rw-r--r--drivers/mxc/security/dryice.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/mxc/security/dryice.c b/drivers/mxc/security/dryice.c
index 96c403585bd2..0f175cd60afc 100644
--- a/drivers/mxc/security/dryice.c
+++ b/drivers/mxc/security/dryice.c
@@ -571,8 +571,10 @@ OS_DEV_INIT(dryice_init)
clk_enable(di->clk);
/* register for interrupts */
- rc = os_register_interrupt("dry_ice", di->irq_norm.irq,
- OS_DEV_ISR_REF(dryice_norm_irq));
+ /* os_register_interrupt() dosen't support an option to make the
+ interrupt as shared. Replaced it with request_irq().*/
+ rc = request_irq(di->irq_norm.irq, dryice_norm_irq, IRQF_SHARED,
+ "dry_ice", di);
if (rc)
goto err_irqs;
else