summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx88/cx88-core.c
diff options
context:
space:
mode:
authorCatalin Climov <devnull@localhost>2005-08-16 15:49:31 +0000
committerCatalin Climov <devnull@localhost>2005-08-16 15:49:31 +0000
commit3c689849d35cbee41c7b8271e1f59b3205c6dbe3 (patch)
treefe6b6c28d3cd643bb6e25c2dd9f6aabf4b845e53 /linux/drivers/media/video/cx88/cx88-core.c
parentb9c8314916a547aefded0e96a6e5adfcc85a7c14 (diff)
downloadmediapointer-dvb-s2-3c689849d35cbee41c7b8271e1f59b3205c6dbe3.tar.gz
mediapointer-dvb-s2-3c689849d35cbee41c7b8271e1f59b3205c6dbe3.tar.bz2
Some reorg: move some bits to struct cx88_core, factor out common ioctl's
to cx88_do_ioctl.
Diffstat (limited to 'linux/drivers/media/video/cx88/cx88-core.c')
-rw-r--r--linux/drivers/media/video/cx88/cx88-core.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-core.c b/linux/drivers/media/video/cx88/cx88-core.c
index 87ccad11f..e8ea1442d 100644
--- a/linux/drivers/media/video/cx88/cx88-core.c
+++ b/linux/drivers/media/video/cx88/cx88-core.c
@@ -1,5 +1,5 @@
/*
- * $Id: cx88-core.c,v 1.35 2005/08/15 23:44:23 mchehab Exp $
+ * $Id: cx88-core.c,v 1.36 2005/08/16 15:49:31 catalin Exp $
*
* device driver for Conexant 2388x based TV cards
* driver core
@@ -1123,6 +1123,7 @@ struct cx88_core* cx88_core_get(struct pci_dev *pci)
core->pci_bus = pci->bus->number;
core->pci_slot = PCI_SLOT(pci->devfn);
core->pci_irqmask = 0x00fc00;
+ init_MUTEX(&core->lock);
core->nr = cx88_devcount++;
sprintf(core->name,"cx88[%d]",core->nr);
@@ -1244,4 +1245,5 @@ EXPORT_SYMBOL(cx88_core_put);
* Local variables:
* c-basic-offset: 8
* End:
+ * kate: eol "unix"; indent-width 3; remove-trailing-space on; replace-trailing-space-save on; tab-width 8; replace-tabs off; space-indent off; mixed-indent off
*/