summaryrefslogtreecommitdiff
path: root/linux/include/media/videobuf-core.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-01-31 11:57:53 -0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-31 11:57:53 -0200
commit21ed876086e2efb38e6f2dfaf48fae94fe2ec738 (patch)
tree655bae036dd26c2d65f5d4d666a37a5e5badcd2b /linux/include/media/videobuf-core.h
parent7fdad17aa5f5e0f8d164613e27d828962100b4c9 (diff)
downloadmediapointer-dvb-s2-21ed876086e2efb38e6f2dfaf48fae94fe2ec738.tar.gz
mediapointer-dvb-s2-21ed876086e2efb38e6f2dfaf48fae94fe2ec738.tar.bz2
Renames videobuf lock to vb_lock
From: Mauro Carvalho Chehab <mchehab@infradead.org> This helps to identify where vb_lock is being used, and find missusages of the locks. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/include/media/videobuf-core.h')
-rw-r--r--linux/include/media/videobuf-core.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/include/media/videobuf-core.h b/linux/include/media/videobuf-core.h
index 9bb244716..b73f0ffa8 100644
--- a/linux/include/media/videobuf-core.h
+++ b/linux/include/media/videobuf-core.h
@@ -150,9 +150,9 @@ struct videobuf_qtype_ops {
struct videobuf_queue {
#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,15)
- struct mutex lock;
+ struct mutex vb_lock;
#else
- struct semaphore lock;
+ struct semaphore vb_lock;
#endif
spinlock_t *irqlock;
void *dev; /* on pci, points to struct pci_dev */