Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[media] v4l2-flash-led-class.h: document v4l2_flash_ops

Fix this warning:
./include/media/v4l2-flash-led-class.h:103: WARNING: c:type reference target not found: v4l2_flash_ops

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>

+11 -4
+11 -4
include/media/v4l2-flash-led-class.h
··· 20 20 struct v4l2_flash; 21 21 enum led_brightness; 22 22 23 - /* 23 + /** 24 24 * struct v4l2_flash_ctrl_data - flash control initialization data, filled 25 25 * basing on the features declared by the LED flash 26 26 * class driver in the v4l2_flash_config ··· 33 33 u32 cid; 34 34 }; 35 35 36 + /** 37 + * struct v4l2_flash_ops - V4L2 flash operations 38 + * 39 + * @external_strobe_set: Setup strobing the flash by hardware pin state 40 + * assertion. 41 + * @intensity_to_led_brightness: Convert intensity to brightness in a device 42 + * specific manner 43 + * @led_brightness_to_intensity: convert brightness to intensity in a device 44 + * specific manner. 45 + */ 36 46 struct v4l2_flash_ops { 37 - /* setup strobing the flash by hardware pin state assertion */ 38 47 int (*external_strobe_set)(struct v4l2_flash *v4l2_flash, 39 48 bool enable); 40 - /* convert intensity to brightness in a device specific manner */ 41 49 enum led_brightness (*intensity_to_led_brightness) 42 50 (struct v4l2_flash *v4l2_flash, s32 intensity); 43 - /* convert brightness to intensity in a device specific manner */ 44 51 s32 (*led_brightness_to_intensity) 45 52 (struct v4l2_flash *v4l2_flash, enum led_brightness); 46 53 };