diff options
author | Steven Toth <stoth@hauppauge.com> | 2006-09-25 11:43:45 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-10-03 14:13:54 -0400 |
commit | 3a5ba52a1a1981c51af8f3559c16feaa238b2fec (patch) | |
tree | e2881b38f57f7cdbb0811d8d8782cbe1458ba768 /drivers/media/video/cx88/cx88.h | |
parent | 3057906df5c9be9c99a181eccac3bc40cf07ad9f (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.h | 9 |
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 { | |||
74 | FM_DEEMPH_75 | 74 | FM_DEEMPH_75 |
75 | }; | 75 | }; |
76 | 76 | ||
77 | enum cx88_board_type { | ||
78 | CX88_BOARD_NONE = 0, | ||
79 | CX88_BOARD_DVB, | ||
80 | CX88_BOARD_BLACKBIRD | ||
81 | }; | ||
82 | |||
77 | /* ----------------------------------------------------------- */ | 83 | /* ----------------------------------------------------------- */ |
78 | /* tv norms */ | 84 | /* tv norms */ |
79 | 85 | ||
@@ -231,8 +237,7 @@ struct cx88_board { | |||
231 | int tda9887_conf; | 237 | int tda9887_conf; |
232 | struct cx88_input input[MAX_CX88_INPUT]; | 238 | struct cx88_input input[MAX_CX88_INPUT]; |
233 | struct cx88_input radio; | 239 | struct cx88_input radio; |
234 | unsigned int blackbird:1; | 240 | enum cx88_board_type mpeg; |
235 | unsigned int dvb:1; | ||
236 | enum audiochip audio_chip; | 241 | enum audiochip audio_chip; |
237 | }; | 242 | }; |
238 | 243 | ||