diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-05-01 08:34:15 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-05-01 08:34:15 -0300 |
commit | 52cfe1cd4399ded1bff9efe8ff16e7d3917bf463 (patch) | |
tree | eebddddc643bb805e64f76cbf822b90cbf45d903 | |
parent | fd53d3d2c2ad6a619e8c2f7ef884839f87dd4b3f (diff) | |
download | mediapointer-dvb-s2-52cfe1cd4399ded1bff9efe8ff16e7d3917bf463.tar.gz mediapointer-dvb-s2-52cfe1cd4399ded1bff9efe8ff16e7d3917bf463.tar.bz2 |
MEDIA: Spinlock initializer cleanup
From: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r-- | linux/drivers/media/video/ivtv/ivtv-driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/ivtv/ivtv-driver.c b/linux/drivers/media/video/ivtv/ivtv-driver.c index 4031df6db..8fbc34db5 100644 --- a/linux/drivers/media/video/ivtv/ivtv-driver.c +++ b/linux/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 = { |