summaryrefslogtreecommitdiffstats
path: root/arch/sh/drivers/dma/dmabrg.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/drivers/dma/dmabrg.c')
-rw-r--r--arch/sh/drivers/dma/dmabrg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/drivers/dma/dmabrg.c b/arch/sh/drivers/dma/dmabrg.c
index 3d66a32ce61..c0dd904483c 100644
--- a/arch/sh/drivers/dma/dmabrg.c
+++ b/arch/sh/drivers/dma/dmabrg.c
@@ -189,8 +189,8 @@ static int __init dmabrg_init(void)
if (ret == 0)
return ret;
- free_irq(DMABRGI1, 0);
-out1: free_irq(DMABRGI0, 0);
+ free_irq(DMABRGI1, NULL);
+out1: free_irq(DMABRGI0, NULL);
out0: kfree(dmabrg_handlers);
return ret;
}