diff options
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/v4l2-common.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/media/v4l2-common.h b/include/media/v4l2-common.h index 95e74f1874e1..0f864f8daaf2 100644 --- a/include/media/v4l2-common.h +++ b/include/media/v4l2-common.h | |||
@@ -150,6 +150,19 @@ struct v4l2_subdev *v4l2_i2c_new_probed_subdev(struct i2c_adapter *adapter, | |||
150 | void v4l2_i2c_subdev_init(struct v4l2_subdev *sd, struct i2c_client *client, | 150 | void v4l2_i2c_subdev_init(struct v4l2_subdev *sd, struct i2c_client *client, |
151 | const struct v4l2_subdev_ops *ops); | 151 | const struct v4l2_subdev_ops *ops); |
152 | 152 | ||
153 | enum v4l2_i2c_tuner_type { | ||
154 | ADDRS_RADIO, /* Radio tuner addresses */ | ||
155 | ADDRS_DEMOD, /* Demod tuner addresses */ | ||
156 | ADDRS_TV, /* TV tuner addresses */ | ||
157 | /* TV tuner addresses if demod is present, this excludes | ||
158 | addresses used by the demodulator from the list of | ||
159 | candidates. */ | ||
160 | ADDRS_TV_WITH_DEMOD, | ||
161 | }; | ||
162 | /* Return a list of I2C tuner addresses to probe. Use only if the tuner | ||
163 | addresses are unknown. */ | ||
164 | const unsigned short *v4l2_i2c_tuner_addrs(enum v4l2_i2c_tuner_type type); | ||
165 | |||
153 | /* ------------------------------------------------------------------------- */ | 166 | /* ------------------------------------------------------------------------- */ |
154 | 167 | ||
155 | /* Internal ioctls */ | 168 | /* Internal ioctls */ |