aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/ivtv/ivtv-driver.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2007-03-10 18:09:07 -0500
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-04-27 14:44:30 -0400
commitd6102900e7e06e1c0c93889d38848a5b2d44e41d (patch)
tree1c02810ba30f96b7bc3be1b4938d19454a7b9738 /drivers/media/video/ivtv/ivtv-driver.c
parent25415cf3b8b3982b065e2227f079ea9cf7a97ef7 (diff)
V4L/DVB (5413): Use spin_lock_init to fix lockdep warnings.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/ivtv/ivtv-driver.c')
-rw-r--r--drivers/media/video/ivtv/ivtv-driver.c4
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 c61e88319a22..4fe42258b214 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)
625 mutex_init(&itv->i2c_bus_lock); 625 mutex_init(&itv->i2c_bus_lock);
626 mutex_init(&itv->udma.lock); 626 mutex_init(&itv->udma.lock);
627 627
628 itv->lock = SPIN_LOCK_UNLOCKED; 628 spin_lock_init(&itv->lock);
629 itv->dma_reg_lock = SPIN_LOCK_UNLOCKED; 629 spin_lock_init(&itv->dma_reg_lock);
630 630
631 itv->irq_work_queues = create_workqueue(itv->name); 631 itv->irq_work_queues = create_workqueue(itv->name);
632 if (itv->irq_work_queues == NULL) { 632 if (itv->irq_work_queues == NULL) {