diff options
Diffstat (limited to 'drivers/media/video/cx18/cx18-driver.h')
-rw-r--r-- | drivers/media/video/cx18/cx18-driver.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/media/video/cx18/cx18-driver.h b/drivers/media/video/cx18/cx18-driver.h index 29c296f39f9..018d98f94f9 100644 --- a/drivers/media/video/cx18/cx18-driver.h +++ b/drivers/media/video/cx18/cx18-driver.h | |||
@@ -504,4 +504,10 @@ void cx18_read_eeprom(struct cx18 *cx, struct tveeprom *tv); | |||
504 | /* First-open initialization: load firmware, etc. */ | 504 | /* First-open initialization: load firmware, etc. */ |
505 | int cx18_init_on_first_open(struct cx18 *cx); | 505 | int cx18_init_on_first_open(struct cx18 *cx); |
506 | 506 | ||
507 | /* Test if the current VBI mode is raw (1) or sliced (0) */ | ||
508 | static inline int cx18_raw_vbi(const struct cx18 *cx) | ||
509 | { | ||
510 | return cx->vbi.in.type == V4L2_BUF_TYPE_VBI_CAPTURE; | ||
511 | } | ||
512 | |||
507 | #endif /* CX18_DRIVER_H */ | 513 | #endif /* CX18_DRIVER_H */ |