]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
Changes init_timer to setup_timer
authorEduardo Valentin <eduardo.valentin@indt.org.br>
Thu, 13 Sep 2007 13:38:41 +0000 (09:38 -0400)
committerTony Lindgren <tony@atomide.com>
Mon, 17 Sep 2007 18:36:47 +0000 (11:36 -0700)
This simple patch changes init_timer call to setup_timer.

Signed-off-by: Eduardo Valentin <eduardo.valentin@indt.org.br>
drivers/media/video/omap24xxcam-dma.c

index a995b47cf52628f2da373961a74130da2ac35d6a..5de0b6b2ec6f75c163286ced6b05815d6731c9bf 100644 (file)
@@ -597,7 +597,5 @@ void omap24xxcam_sgdma_init(struct omap24xxcam_sgdma *sgdma,
        }
 
        omap24xxcam_dma_init(&sgdma->dma, base);
-       init_timer(&sgdma->reset_timer);
-       sgdma->reset_timer.function = reset_callback;
-       sgdma->reset_timer.data = reset_callback_data;
+       setup_timer(&sgdma->reset_timer, reset_callback, reset_callback_data);
 }