media: staging: media: hantro: fix kernel-doc formatting
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Thu, 11 Mar 2021 10:20:16 +0000 (11:20 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 22 Mar 2021 11:55:38 +0000 (12:55 +0100)
- @h264_dec was not documented, add that trivial change
- it is not possible to document a global variable in kernel-doc,
  change to use 'DOC:' instead
- fix mismatched struct name (hantro_vp8d_hw_ctx -> hantro_vp8_dec_hw_ctx)

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Reviewed-by: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/hantro/hantro.h
drivers/staging/media/hantro/hantro_hw.h

index 65f9f7e..6c1b888 100644 (file)
@@ -214,6 +214,7 @@ struct hantro_dev {
  *
  * @codec_ops:         Set of operations related to codec mode.
  * @postproc:          Post-processing context.
+ * @h264_dec:          H.264-decoding context.
  * @jpeg_enc:          JPEG-encoding context.
  * @mpeg2_dec:         MPEG-2-decoding context.
  * @vp8_dec:           VP8-decoding context.
@@ -293,7 +294,7 @@ struct hantro_postproc_regs {
 /* Logging helpers */
 
 /**
- * debug - Module parameter to control level of debugging messages.
+ * DOC: hantro_debug: Module parameter to control level of debugging messages.
  *
  * Level of debugging messages can be controlled by bits of
  * module parameter called "debug". Meaning of particular
index ada482e..13a6e71 100644 (file)
@@ -99,7 +99,7 @@ struct hantro_mpeg2_dec_hw_ctx {
 };
 
 /**
- * struct hantro_vp8d_hw_ctx
+ * struct hantro_vp8_dec_hw_ctx
  * @segment_map:       Segment map buffer.
  * @prob_tbl:          Probability table buffer.
  */