Commit b71ed5cf authored by Thomas Gleixner's avatar Thomas Gleixner Committed by Mauro Carvalho Chehab

V4L/DVB (5566): MEDIA: Spinlock initializer cleanup

Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent 45e95980
...@@ -74,7 +74,7 @@ int ivtv_first_minor = 0; ...@@ -74,7 +74,7 @@ int ivtv_first_minor = 0;
struct ivtv *ivtv_cards[IVTV_MAX_CARDS]; struct ivtv *ivtv_cards[IVTV_MAX_CARDS];
/* Protects ivtv_cards_active */ /* Protects ivtv_cards_active */
spinlock_t ivtv_cards_lock = SPIN_LOCK_UNLOCKED; DEFINE_SPINLOCK(ivtv_cards_lock);
/* add your revision and whatnot here */ /* add your revision and whatnot here */
static struct pci_device_id ivtv_pci_tbl[] __devinitdata = { static struct pci_device_id ivtv_pci_tbl[] __devinitdata = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment