media: s5p-jpeg: fix kernel-doc warnings
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Thu, 11 Mar 2021 10:20:11 +0000 (11:20 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 22 Mar 2021 11:53:22 +0000 (12:53 +0100)
- added missing 'struct' kernel-doc keywords
- add missing '*' in kernel-doc comment blocks

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/s5p-jpeg/jpeg-core.h

index 4407fe775afa828031387393f48077423041c3fc..fcd21ae8bcbef30929494f454932252fcd260b2b 100644 (file)
@@ -115,8 +115,7 @@ enum s5p_jpeg_ctx_state {
  * @dev:               JPEG IP struct device
  * @variant:           driver variant to be used
  * @irq_status         interrupt flags set during single encode/decode
-                       operation
-
+ *                     operation
  */
 struct s5p_jpeg {
        struct mutex            lock;
@@ -149,7 +148,7 @@ struct s5p_jpeg_variant {
 };
 
 /**
- * struct jpeg_fmt - driver's internal color format data
+ * struct s5p_jpeg_fmt - driver's internal color format data
  * @fourcc:    the fourcc code, 0 if not applicable
  * @depth:     number of bits per pixel
  * @colplanes: number of color planes (1 for packed formats)
@@ -169,7 +168,7 @@ struct s5p_jpeg_fmt {
 };
 
 /**
- * s5p_jpeg_marker - collection of markers from jpeg header
+ * struct s5p_jpeg_marker - collection of markers from jpeg header
  * @marker:    markers' positions relative to the buffer beginning
  * @len:       markers' payload lengths (without length field)
  * @n:         number of markers in collection
@@ -181,7 +180,7 @@ struct s5p_jpeg_marker {
 };
 
 /**
- * s5p_jpeg_q_data - parameters of one queue
+ * struct s5p_jpeg_q_data - parameters of one queue
  * @fmt:       driver-specific format of this queue
  * @w:         image width
  * @h:         image height
@@ -205,7 +204,7 @@ struct s5p_jpeg_q_data {
 };
 
 /**
- * s5p_jpeg_ctx - the device context data
+ * struct s5p_jpeg_ctx - the device context data
  * @jpeg:              JPEG IP device for this context
  * @mode:              compression (encode) operation or decompression (decode)
  * @compr_quality:     destination image quality in compression (encode) mode
@@ -239,7 +238,7 @@ struct s5p_jpeg_ctx {
 };
 
 /**
- * s5p_jpeg_buffer - description of memory containing input JPEG data
+ * struct s5p_jpeg_buffer - description of memory containing input JPEG data
  * @size:      buffer size
  * @curr:      current position in the buffer
  * @data:      pointer to the data