summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2007-05-01 08:34:15 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-05-09 10:12:28 -0300
commitb71ed5cfe651051cd90b0e31c3cdb74953d6416f (patch)
treef84da651832eb7a307e37d95f838de7b23991b61 /drivers
parent45e95980f2c89c2cb6e770f4c67982eb0b72ce28 (diff)
downloadblackbird-op-linux-b71ed5cfe651051cd90b0e31c3cdb74953d6416f.tar.gz
blackbird-op-linux-b71ed5cfe651051cd90b0e31c3cdb74953d6416f.zip
V4L/DVB (5566): MEDIA: Spinlock initializer cleanup
Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/video/ivtv/ivtv-driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/ivtv/ivtv-driver.c b/drivers/media/video/ivtv/ivtv-driver.c
index 45b9328a538f..e29f949adf57 100644
--- a/drivers/media/video/ivtv/ivtv-driver.c
+++ b/drivers/media/video/ivtv/ivtv-driver.c
@@ -74,7 +74,7 @@ int ivtv_first_minor = 0;
struct ivtv *ivtv_cards[IVTV_MAX_CARDS];
/* Protects ivtv_cards_active */
-spinlock_t ivtv_cards_lock = SPIN_LOCK_UNLOCKED;
+DEFINE_SPINLOCK(ivtv_cards_lock);
/* add your revision and whatnot here */
static struct pci_device_id ivtv_pci_tbl[] __devinitdata = {
OpenPOWER on IntegriCloud