summaryrefslogtreecommitdiffstats
path: root/drivers/video/pvr2fb.c
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@lip6.fr>2012-03-11 15:36:21 -0400
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2012-03-13 19:17:31 -0400
commitafb0499b0e43e2ee71a92bec9331635dc1173a07 (patch)
tree1120ecb03f6a530ecb248760aeb6a24190ec02d0 /drivers/video/pvr2fb.c
parentc2bc0a756b1f98bd712fabe78eb49d7d5ae72075 (diff)
drivers/video/pvr2fb.c: ensure arguments to request_irq and free_irq are compatible
Convert calls to free_irq so that the second argument is the same as the last argument of the corresponding call to request_irq. Without this property, free_irq does nothing. Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers/video/pvr2fb.c')
-rw-r--r--drivers/video/pvr2fb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/pvr2fb.c b/drivers/video/pvr2fb.c
index 3a3fdc62c75b..bcd44c32a2ed 100644
--- a/drivers/video/pvr2fb.c
+++ b/drivers/video/pvr2fb.c
@@ -895,7 +895,7 @@ static int __init pvr2fb_dc_init(void)
895 895
896#ifdef CONFIG_PVR2_DMA 896#ifdef CONFIG_PVR2_DMA
897 if (request_dma(pvr2dma, "pvr2") != 0) { 897 if (request_dma(pvr2dma, "pvr2") != 0) {
898 free_irq(HW_EVENT_VSYNC, 0); 898 free_irq(HW_EVENT_VSYNC, fb_info);
899 return -EBUSY; 899 return -EBUSY;
900 } 900 }
901#endif 901#endif
@@ -914,7 +914,7 @@ static void __exit pvr2fb_dc_exit(void)
914 currentpar->mmio_base = 0; 914 currentpar->mmio_base = 0;
915 } 915 }
916 916
917 free_irq(HW_EVENT_VSYNC, 0); 917 free_irq(HW_EVENT_VSYNC, fb_info);
918#ifdef CONFIG_PVR2_DMA 918#ifdef CONFIG_PVR2_DMA
919 free_dma(pvr2dma); 919 free_dma(pvr2dma);
920#endif 920#endif