Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=d6102900e7e06e1c0c93889d38848a5b2d44e41d
Commit:     d6102900e7e06e1c0c93889d38848a5b2d44e41d
Parent:     25415cf3b8b3982b065e2227f079ea9cf7a97ef7
Author:     Hans Verkuil <[EMAIL PROTECTED]>
AuthorDate: Sat Mar 10 20:09:07 2007 -0300
Committer:  Mauro Carvalho Chehab <[EMAIL PROTECTED]>
CommitDate: Fri Apr 27 15:44:30 2007 -0300

    V4L/DVB (5413): Use spin_lock_init to fix lockdep warnings.
    
    Signed-off-by: Hans Verkuil <[EMAIL PROTECTED]>
    Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]>
---
 drivers/media/video/ivtv/ivtv-driver.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/media/video/ivtv/ivtv-driver.c 
b/drivers/media/video/ivtv/ivtv-driver.c
index c61e883..4fe4225 100644
--- a/drivers/media/video/ivtv/ivtv-driver.c
+++ b/drivers/media/video/ivtv/ivtv-driver.c
@@ -625,8 +625,8 @@ static int __devinit ivtv_init_struct1(struct ivtv *itv)
        mutex_init(&itv->i2c_bus_lock);
        mutex_init(&itv->udma.lock);
 
-       itv->lock = SPIN_LOCK_UNLOCKED;
-       itv->dma_reg_lock = SPIN_LOCK_UNLOCKED;
+       spin_lock_init(&itv->lock);
+       spin_lock_init(&itv->dma_reg_lock);
 
        itv->irq_work_queues = create_workqueue(itv->name);
        if (itv->irq_work_queues == NULL) {
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to