public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Eduardo Valentin <edubezval@gmail.com>
To: Linux OMAP <linux-omap-open-source@linux.omap.com>,
	Sakari Ailus <sakari.ailus@nokia.com>
Cc: Eduardo Valentin <eduardo.valentin@indt.org.br>
Subject: [PATCH] [OMAP2 CAM] Changes init_timer to setup_timer
Date: Thu, 13 Sep 2007 09:38:41 -0400	[thread overview]
Message-ID: <1189690721400-git-send-email-edubezval@gmail.com> (raw)

From: Eduardo Valentin <eduardo.valentin@indt.org.br>

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 |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/drivers/media/video/omap24xxcam-dma.c b/drivers/media/video/omap24xxcam-dma.c
index a995b47..5de0b6b 100644
--- a/drivers/media/video/omap24xxcam-dma.c
+++ b/drivers/media/video/omap24xxcam-dma.c
@@ -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);
 }
-- 
1.5.3.rc6.17.g1911

             reply	other threads:[~2007-09-13 13:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-13 13:38 Eduardo Valentin [this message]
2007-09-17 18:37 ` [PATCH] [OMAP2 CAM] Changes init_timer to setup_timer Tony Lindgren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1189690721400-git-send-email-edubezval@gmail.com \
    --to=edubezval@gmail.com \
    --cc=eduardo.valentin@indt.org.br \
    --cc=linux-omap-open-source@linux.omap.com \
    --cc=sakari.ailus@nokia.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox