Skip to content

Commit

Permalink
media: v4l2: Correct kernel-doc inconsistency
Browse files Browse the repository at this point in the history
Silence documentation build warnings by correcting kernel-doc comment
v4l2_subdev_get_fwnode_pad_1_to_1 function

./include/media/v4l2-subdev.h:1045: warning: Function parameter or member 'entity' not described in 'v4l2_subdev_get_fwnode_pad_1_to_1'
./include/media/v4l2-subdev.h:1045: warning: Function parameter or member 'endpoint' not described in 'v4l2_subdev_get_fwnode_pad_1_to_1'

Signed-off-by: Colton Lewis <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
  • Loading branch information
cowile authored and sigmaris committed Aug 8, 2020
1 parent dba6d9a commit b4e7f59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/media/v4l2-subdev.h
Original file line number Diff line number Diff line change
Expand Up @@ -1032,8 +1032,8 @@ static inline void *v4l2_get_subdev_hostdata(const struct v4l2_subdev *sd)
* v4l2_subdev_get_fwnode_pad_1_to_1 - Get pad number from a subdev fwnode
* endpoint, assuming 1:1 port:pad
*
* @entity - Pointer to the subdev entity
* @endpoint - Pointer to a parsed fwnode endpoint
* @entity: Pointer to the subdev entity
* @endpoint: Pointer to a parsed fwnode endpoint
*
* This function can be used as the .get_fwnode_pad operation for
* subdevices that map port numbers and pad indexes 1:1. If the endpoint
Expand Down

0 comments on commit b4e7f59

Please sign in to comment.