diff options
| author | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2021-03-11 13:20:16 +0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-03-22 14:55:38 +0300 |
| commit | 75e2ddb181271d067412cdb7aa87a55736adb246 (patch) | |
| tree | f94a164bdcff16afa3ac33474c583dc85503cebd | |
| parent | 7a9d4140e76772ad78051ea1d50f03432f54a84e (diff) | |
| download | linux-75e2ddb181271d067412cdb7aa87a55736adb246.tar.xz | |
media: staging: media: hantro: fix kernel-doc formatting
- @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>
| -rw-r--r-- | drivers/staging/media/hantro/hantro.h | 3 | ||||
| -rw-r--r-- | drivers/staging/media/hantro/hantro_hw.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/drivers/staging/media/hantro/hantro.h b/drivers/staging/media/hantro/hantro.h index 65f9f7ea7dcf..6c1b888abe75 100644 --- a/drivers/staging/media/hantro/hantro.h +++ b/drivers/staging/media/hantro/hantro.h @@ -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 diff --git a/drivers/staging/media/hantro/hantro_hw.h b/drivers/staging/media/hantro/hantro_hw.h index ada482e514b8..13a6e7113001 100644 --- a/drivers/staging/media/hantro/hantro_hw.h +++ b/drivers/staging/media/hantro/hantro_hw.h @@ -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. */ |
