aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx23885/cx23885.h
diff options
context:
space:
mode:
authorSteven Toth <stoth@hauppauge.com>2007-09-06 15:07:49 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-10-09 21:14:28 -0400
commit661c7e44c5cc2828c7acb00cb71d985e129e3641 (patch)
tree3aba91355713dbc6872e73906b8ce5a460d8b0f8 /drivers/media/video/cx23885/cx23885.h
parentbfde287c2f8f0fe4e50e0eb136e4dca6b0ed84dc (diff)
V4L/DVB (6192): Ensure start_dma() is capable of starting dma on port VIDB
start_dma() would fail to start dma if a device used VIDB (portb). Signed-off-by: Steven Toth <stoth@hauppauge.com> Reviewed-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/cx23885/cx23885.h')
-rw-r--r--drivers/media/video/cx23885/cx23885.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/drivers/media/video/cx23885/cx23885.h b/drivers/media/video/cx23885/cx23885.h
index c0f4e4337351..e44698a6bede 100644
--- a/drivers/media/video/cx23885/cx23885.h
+++ b/drivers/media/video/cx23885/cx23885.h
@@ -86,12 +86,14 @@ struct cx23885_input {
86 u32 gpio0, gpio1, gpio2, gpio3; 86 u32 gpio0, gpio1, gpio2, gpio3;
87}; 87};
88 88
89typedef enum {
90 CX23885_MPEG_UNDEFINED = 0,
91 CX23885_MPEG_DVB
92} port_t;
93
89struct cx23885_board { 94struct cx23885_board {
90 char *name; 95 char *name;
91 enum { 96 port_t portb, portc;
92 CX23885_MPEG_UNDEFINED = 0,
93 CX23885_MPEG_DVB
94 } portc;
95 struct cx23885_input input[MAX_CX23885_INPUT]; 97 struct cx23885_input input[MAX_CX23885_INPUT];
96}; 98};
97 99