]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
media: m5mols/m5mols.h: document new reset field
authorHans Verkuil <hverkuil@xs4all.nl>
Tue, 8 Mar 2022 08:42:29 +0000 (09:42 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 18 Mar 2022 06:27:56 +0000 (07:27 +0100)
The new reset field in struct m5mols_info was not documented,
add this.

This fixes a kerneldoc warning:

drivers/media/i2c/m5mols/m5mols.h:244: warning: Function parameter or member 'reset' not described in 'm5mols_info'

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Fixes: aaaf357fa61c (media: m5mols: Convert to use GPIO descriptors)
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/i2c/m5mols/m5mols.h

index b56eb0a8ee97b76ba4cb63de72f6b4b8d26eafc2..d8545d2280afb10f8edd2f95e3d9acae55912b8b 100644 (file)
@@ -182,6 +182,7 @@ struct m5mols_version {
  * @stabilization: image stabilization control
  * @jpeg_quality: JPEG compression quality control
  * @set_power: optional power callback to the board code
+ * @reset: GPIO driving the reset pin of M-5MOLS
  * @lock: mutex protecting the structure fields below
  * @ffmt: current fmt according to resolution type
  * @res_type: current resolution type