aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorSteven Toth <stoth@hauppauge.com>2007-03-20 14:33:53 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-10-09 21:08:09 -0400
commit047646bfbbe5ec961d2430514ae29fa0b87ab651 (patch)
tree5de3f72f2bcae0d2b6e1c54a55e4ef90cf5bd93f /drivers
parentfe475163ff9680495af3b1b5b7633ea7a42e4185 (diff)
V4L/DVB (6159): General code cleanup
Removed if 0'd code, removed cx88 references. Signed-off-by: Steven Toth <stoth@hauppauge.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/video/cx23885/cx23885-core.c6
-rw-r--r--drivers/media/video/cx23885/cx23885.h10
2 files changed, 4 insertions, 12 deletions
diff --git a/drivers/media/video/cx23885/cx23885-core.c b/drivers/media/video/cx23885/cx23885-core.c
index d8e376dee68b..804ba7ff9770 100644
--- a/drivers/media/video/cx23885/cx23885-core.c
+++ b/drivers/media/video/cx23885/cx23885-core.c
@@ -1498,9 +1498,9 @@ static struct pci_driver cx23885_pci_driver = {
1498static int cx23885_init(void) 1498static int cx23885_init(void)
1499{ 1499{
1500 printk(KERN_INFO "cx23885 driver version %d.%d.%d loaded\n", 1500 printk(KERN_INFO "cx23885 driver version %d.%d.%d loaded\n",
1501 (CX88_VERSION_CODE >> 16) & 0xff, 1501 (CX23885_VERSION_CODE >> 16) & 0xff,
1502 (CX88_VERSION_CODE >> 8) & 0xff, 1502 (CX23885_VERSION_CODE >> 8) & 0xff,
1503 CX88_VERSION_CODE & 0xff); 1503 CX23885_VERSION_CODE & 0xff);
1504#ifdef SNAPSHOT 1504#ifdef SNAPSHOT
1505 printk(KERN_INFO "cx23885: snapshot date %04d-%02d-%02d\n", 1505 printk(KERN_INFO "cx23885: snapshot date %04d-%02d-%02d\n",
1506 SNAPSHOT/10000, (SNAPSHOT/100)%100, SNAPSHOT%100); 1506 SNAPSHOT/10000, (SNAPSHOT/100)%100, SNAPSHOT%100);
diff --git a/drivers/media/video/cx23885/cx23885.h b/drivers/media/video/cx23885/cx23885.h
index 4e1fc68d4206..b60de21c2387 100644
--- a/drivers/media/video/cx23885/cx23885.h
+++ b/drivers/media/video/cx23885/cx23885.h
@@ -38,7 +38,7 @@
38#include <linux/version.h> 38#include <linux/version.h>
39#include <linux/mutex.h> 39#include <linux/mutex.h>
40 40
41#define CX88_VERSION_CODE KERNEL_VERSION(0,0,6) 41#define CX23885_VERSION_CODE KERNEL_VERSION(0,0,1)
42 42
43#define UNSET (-1U) 43#define UNSET (-1U)
44 44
@@ -69,14 +69,6 @@ enum cx23885_itype {
69 CX23885_RADIO, 69 CX23885_RADIO,
70}; 70};
71 71
72struct cx23885_fmt {
73 char *name;
74 u32 fourcc; /* v4l2 format id */
75 int depth;
76 int flags;
77 u32 cxformat;
78};
79
80/* buffer for one video frame */ 72/* buffer for one video frame */
81struct cx23885_buffer { 73struct cx23885_buffer {
82 /* common v4l buffer stuff -- must be first */ 74 /* common v4l buffer stuff -- must be first */