summaryrefslogtreecommitdiff
path: root/drivers/media/video/cx88/cx88.h
diff options
context:
space:
mode:
authorSteven Toth <stoth@hauppauge.com>2006-09-25 12:43:45 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-10-03 15:13:54 -0300
commit3a5ba52a1a1981c51af8f3559c16feaa238b2fec (patch)
treee2881b38f57f7cdbb0811d8d8782cbe1458ba768 /drivers/media/video/cx88/cx88.h
parent3057906df5c9be9c99a181eccac3bc40cf07ad9f (diff)
V4L/DVB (4667): Changed cx88_board .dvb and .register to an enum.
Some basic cleanup in preperation for a future patch where the cx88-mpeg functions have to deal with the port being used by multiple frontends in (mpeg2 hw encoder and dvb demod). Signed-off-by: Steven Toth <stoth@hauppauge.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/cx88/cx88.h')
-rw-r--r--drivers/media/video/cx88/cx88.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/drivers/media/video/cx88/cx88.h b/drivers/media/video/cx88/cx88.h
index 2371ab407984..5c4e845c1cf0 100644
--- a/drivers/media/video/cx88/cx88.h
+++ b/drivers/media/video/cx88/cx88.h
@@ -74,6 +74,12 @@ enum cx88_deemph_type {
FM_DEEMPH_75
};
+enum cx88_board_type {
+ CX88_BOARD_NONE = 0,
+ CX88_BOARD_DVB,
+ CX88_BOARD_BLACKBIRD
+};
+
/* ----------------------------------------------------------- */
/* tv norms */
@@ -231,8 +237,7 @@ struct cx88_board {
int tda9887_conf;
struct cx88_input input[MAX_CX88_INPUT];
struct cx88_input radio;
- unsigned int blackbird:1;
- unsigned int dvb:1;
+ enum cx88_board_type mpeg;
enum audiochip audio_chip;
};