Commit 89e078b5 authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab

media: s5p-jpeg: fix kernel-doc warnings

- added missing 'struct' kernel-doc keywords
- add missing '*' in kernel-doc comment blocks
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 0ae4ff01
...@@ -115,8 +115,7 @@ enum s5p_jpeg_ctx_state { ...@@ -115,8 +115,7 @@ enum s5p_jpeg_ctx_state {
* @dev: JPEG IP struct device * @dev: JPEG IP struct device
* @variant: driver variant to be used * @variant: driver variant to be used
* @irq_status interrupt flags set during single encode/decode * @irq_status interrupt flags set during single encode/decode
operation * operation
*/ */
struct s5p_jpeg { struct s5p_jpeg {
struct mutex lock; struct mutex lock;
...@@ -149,7 +148,7 @@ struct s5p_jpeg_variant { ...@@ -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 * @fourcc: the fourcc code, 0 if not applicable
* @depth: number of bits per pixel * @depth: number of bits per pixel
* @colplanes: number of color planes (1 for packed formats) * @colplanes: number of color planes (1 for packed formats)
...@@ -169,7 +168,7 @@ struct s5p_jpeg_fmt { ...@@ -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 * @marker: markers' positions relative to the buffer beginning
* @len: markers' payload lengths (without length field) * @len: markers' payload lengths (without length field)
* @n: number of markers in collection * @n: number of markers in collection
...@@ -181,7 +180,7 @@ struct s5p_jpeg_marker { ...@@ -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 * @fmt: driver-specific format of this queue
* @w: image width * @w: image width
* @h: image height * @h: image height
...@@ -205,7 +204,7 @@ struct s5p_jpeg_q_data { ...@@ -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 * @jpeg: JPEG IP device for this context
* @mode: compression (encode) operation or decompression (decode) * @mode: compression (encode) operation or decompression (decode)
* @compr_quality: destination image quality in compression (encode) mode * @compr_quality: destination image quality in compression (encode) mode
...@@ -239,7 +238,7 @@ struct s5p_jpeg_ctx { ...@@ -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 * @size: buffer size
* @curr: current position in the buffer * @curr: current position in the buffer
* @data: pointer to the data * @data: pointer to the data
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment