Skip to content

Commit

Permalink
media: rcar_jpu: fix two kernel-doc markups
Browse files Browse the repository at this point in the history
On kernel-doc, struct declarations should be declared as "struct foo".

Fix the following warnings:
	drivers/media/platform/rcar_jpu.c:265: warning: cannot understand function prototype: 'struct jpu_q_data '
	drivers/media/platform/rcar_jpu.c:281: warning: cannot understand function prototype: 'struct jpu_ctx '

Signed-off-by: Mauro Carvalho Chehab <[email protected]>
  • Loading branch information
mchehab committed Nov 30, 2017
1 parent 2afe216 commit 538cf64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/media/platform/rcar_jpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ struct jpu_fmt {
};

/**
* jpu_q_data - parameters of one queue
* struct jpu_q_data - parameters of one queue
* @fmtinfo: driver-specific format of this queue
* @format: multiplanar format of this queue
* @sequence: sequence number
Expand All @@ -269,7 +269,7 @@ struct jpu_q_data {
};

/**
* jpu_ctx - the device context data
* struct jpu_ctx - the device context data
* @jpu: JPEG IP device for this context
* @encoder: compression (encode) operation or decompression (decode)
* @compr_quality: destination image quality in compression (encode) mode
Expand Down

0 comments on commit 538cf64

Please sign in to comment.