aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media')
-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) {