]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/media/v4l2-common.h
V4L/DVB (11374): v4l2-common: add v4l2_i2c_new_probed_subdev_addr
[linux-2.6-omap-h63xx.git] / include / media / v4l2-common.h
index 8ec50fea9e0d18a2c8a151e413263426a6402976..1613a0ab8b044c34e26649d94709f6a0ae1dda71 100644 (file)
@@ -147,6 +147,10 @@ struct v4l2_subdev *v4l2_i2c_new_subdev(struct i2c_adapter *adapter,
 struct v4l2_subdev *v4l2_i2c_new_probed_subdev(struct i2c_adapter *adapter,
                const char *module_name, const char *client_type,
                const unsigned short *addrs);
+/* Like v4l2_i2c_new_probed_subdev, except probe for a single address. */
+struct v4l2_subdev *v4l2_i2c_new_probed_subdev_addr(struct v4l2_device *v4l2_dev,
+               struct i2c_adapter *adapter,
+               const char *module_name, const char *client_type, u8 addr);
 /* Initialize an v4l2_subdev with data from an i2c_client struct */
 void v4l2_i2c_subdev_init(struct v4l2_subdev *sd, struct i2c_client *client,
                const struct v4l2_subdev_ops *ops);