diff options
author | Steven Toth <stoth@hauppauge.com> | 2007-03-19 18:22:41 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-10-09 21:08:06 -0400 |
commit | e133be0f587996f112d7984c03606af418a7ca05 (patch) | |
tree | 3b78505e5b265d7d95db6f7bfc0835aa15ed5788 /drivers/media/video/cx23885/cx23885-cards.c | |
parent | 0fc0739ba940c07e97599a7ee04c24faae9808ed (diff) |
V4L/DVB (6157): Removed the need to manually define .bridge for each card
Moved the field from cx23885_board to cx23885_dev and added code to
iautomatically set the bridge type based on the pci device id.
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/media/video/cx23885/cx23885-cards.c')
-rw-r--r-- | drivers/media/video/cx23885/cx23885-cards.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/media/video/cx23885/cx23885-cards.c b/drivers/media/video/cx23885/cx23885-cards.c index 9344fb5d95f6..decf602ab164 100644 --- a/drivers/media/video/cx23885/cx23885-cards.c +++ b/drivers/media/video/cx23885/cx23885-cards.c | |||
@@ -32,7 +32,6 @@ | |||
32 | struct cx23885_board cx23885_boards[] = { | 32 | struct cx23885_board cx23885_boards[] = { |
33 | [CX23885_BOARD_UNKNOWN] = { | 33 | [CX23885_BOARD_UNKNOWN] = { |
34 | .name = "UNKNOWN/GENERIC", | 34 | .name = "UNKNOWN/GENERIC", |
35 | .bridge = CX23885_BRIDGE_UNDEFINED, | ||
36 | .input = {{ | 35 | .input = {{ |
37 | .type = CX23885_VMUX_COMPOSITE1, | 36 | .type = CX23885_VMUX_COMPOSITE1, |
38 | .vmux = 0, | 37 | .vmux = 0, |
@@ -49,7 +48,6 @@ struct cx23885_board cx23885_boards[] = { | |||
49 | }, | 48 | }, |
50 | [CX23885_BOARD_HAUPPAUGE_HVR1800lp] = { | 49 | [CX23885_BOARD_HAUPPAUGE_HVR1800lp] = { |
51 | .name = "Hauppauge WinTV-HVR1800lp", | 50 | .name = "Hauppauge WinTV-HVR1800lp", |
52 | .bridge = CX23885_BRIDGE_885, | ||
53 | .portc = CX23885_MPEG_DVB, | 51 | .portc = CX23885_MPEG_DVB, |
54 | .input = {{ | 52 | .input = {{ |
55 | .type = CX23885_VMUX_TELEVISION, | 53 | .type = CX23885_VMUX_TELEVISION, |
@@ -71,7 +69,6 @@ struct cx23885_board cx23885_boards[] = { | |||
71 | }, | 69 | }, |
72 | [CX23885_BOARD_HAUPPAUGE_HVR1800] = { | 70 | [CX23885_BOARD_HAUPPAUGE_HVR1800] = { |
73 | .name = "Hauppauge WinTV-HVR1800", | 71 | .name = "Hauppauge WinTV-HVR1800", |
74 | .bridge = CX23885_BRIDGE_887, | ||
75 | .portc = CX23885_MPEG_DVB, | 72 | .portc = CX23885_MPEG_DVB, |
76 | .input = {{ | 73 | .input = {{ |
77 | .type = CX23885_VMUX_TELEVISION, | 74 | .type = CX23885_VMUX_TELEVISION, |