diff options
Diffstat (limited to 'drivers/media/video/cx88/cx88.h')
-rw-r--r-- | drivers/media/video/cx88/cx88.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/drivers/media/video/cx88/cx88.h b/drivers/media/video/cx88/cx88.h index 78486f90327a..3636ec26de59 100644 --- a/drivers/media/video/cx88/cx88.h +++ b/drivers/media/video/cx88/cx88.h | |||
@@ -250,7 +250,7 @@ struct cx88_subid { | |||
250 | u32 card; | 250 | u32 card; |
251 | }; | 251 | }; |
252 | 252 | ||
253 | #define INPUT(nr) (&cx88_boards[core->board].input[nr]) | 253 | #define INPUT(nr) (core->board.input[nr]) |
254 | 254 | ||
255 | /* ----------------------------------------------------------- */ | 255 | /* ----------------------------------------------------------- */ |
256 | /* device / file handle status */ | 256 | /* device / file handle status */ |
@@ -304,13 +304,8 @@ struct cx88_core { | |||
304 | u32 i2c_state, i2c_rc; | 304 | u32 i2c_state, i2c_rc; |
305 | 305 | ||
306 | /* config info -- analog */ | 306 | /* config info -- analog */ |
307 | unsigned int board; | 307 | unsigned int boardnr; |
308 | unsigned int tuner_type; | 308 | struct cx88_board board; |
309 | unsigned int radio_type; | ||
310 | unsigned char tuner_addr; | ||
311 | unsigned char radio_addr; | ||
312 | unsigned int tda9887_conf; | ||
313 | unsigned int has_radio; | ||
314 | 309 | ||
315 | /* Supported V4L _STD_ tuner formats */ | 310 | /* Supported V4L _STD_ tuner formats */ |
316 | unsigned int tuner_formats; | 311 | unsigned int tuner_formats; |
@@ -585,7 +580,7 @@ extern void cx88_call_i2c_clients(struct cx88_core *core, | |||
585 | /* ----------------------------------------------------------- */ | 580 | /* ----------------------------------------------------------- */ |
586 | /* cx88-cards.c */ | 581 | /* cx88-cards.c */ |
587 | 582 | ||
588 | extern struct cx88_board cx88_boards[]; | 583 | extern const struct cx88_board cx88_boards[]; |
589 | extern const unsigned int cx88_bcount; | 584 | extern const unsigned int cx88_bcount; |
590 | 585 | ||
591 | extern struct cx88_subid cx88_subids[]; | 586 | extern struct cx88_subid cx88_subids[]; |