···7878 v4l2_printk(KERN_DEBUG, dev, fmt , ## arg); \7979 } while (0)80808181-/* ------------------------------------------------------------------------- */8181+/**8282+ * v4l2_ctrl_query_fill- Fill in a struct v4l2_queryctrl8383+ *8484+ * @qctrl: pointer to the &struct v4l2_queryctrl to be filled8585+ * @min: minimum value for the control8686+ * @max: maximum value for the control8787+ * @step: control step8888+ * @def: default value for the control8989+ *9090+ * Fills the &struct v4l2_queryctrl fields for the query control.9191+ *9292+ * .. note::9393+ *9494+ * This function assumes that the @qctrl->id field is filled.9595+ *9696+ * Returns -EINVAL if the control is not known by the V4L2 core, 0 on success.9797+ */82988383-int v4l2_ctrl_query_fill(struct v4l2_queryctrl *qctrl, s32 min, s32 max, s32 step, s32 def);9999+int v4l2_ctrl_query_fill(struct v4l2_queryctrl *qctrl,100100+ s32 min, s32 max, s32 step, s32 def);8410185102/* ------------------------------------------------------------------------- */86103···189172190173struct spi_device;191174192192-/* Load an spi module and return an initialized v4l2_subdev struct.193193- The client_type argument is the name of the chip that's on the adapter. */175175+/**176176+ * v4l2_spi_new_subdev - Load an spi module and return an initialized177177+ * &struct v4l2_subdev.178178+ *179179+ *180180+ * @v4l2_dev: pointer to &struct v4l2_device.181181+ * @master: pointer to struct spi_master.182182+ * @info: pointer to struct spi_board_info.183183+ *184184+ * returns a &struct v4l2_subdev pointer.185185+ */194186struct v4l2_subdev *v4l2_spi_new_subdev(struct v4l2_device *v4l2_dev,195187 struct spi_master *master, struct spi_board_info *info);196188197197-/* Initialize a v4l2_subdev with data from an spi_device struct */189189+/**190190+ * v4l2_spi_subdev_init - Initialize a v4l2_subdev with data from an191191+ * spi_device struct.192192+ *193193+ * @sd: pointer to &struct v4l2_subdev194194+ * @spi: pointer to struct spi_device.195195+ * @ops: pointer to &struct v4l2_subdev_ops196196+ */198197void v4l2_spi_subdev_init(struct v4l2_subdev *sd, struct spi_device *spi,199198 const struct v4l2_subdev_ops *ops);200199#endif