Skip to contentSkip to conversation

media: v4l2-subdev: Fix missing kerneldoc for client_caps

PATCH New Sakari Ailus 1 participant 1 message May 22, 2023 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 media: v4l2-subdev: Fix missing kerneldoc for client_caps

From: Tomi Valkeinen <[email protected]>

Add missing kernel doc for the new 'client_caps' field in struct v4l2_subdev_fh.

Fixes f57fa2959244 ("media: v4l2-subdev: Add new ioctl for client capabilities")

---
since v1:

- Put the macro name in quotes. This should also fix the Sphinx warning about the asterisk (this construction exists elsewhere in the docs).

 include/media/v4l2-subdev.h | 1 +
 1 file changed, 1 insertion(+)
include/media/v4l2-subdev.h +1 -0
index cfd19e72d0fc4..b325df0d54d61 100644
@@ -1119,6 +1119,7 @@ struct v4l2_subdev {
  * @vfh: pointer to &struct v4l2_fh
  * @state: pointer to &struct v4l2_subdev_state
  * @owner: module pointer to the owner of this file handle
+ * @client_caps: bitmask of ``V4L2_SUBDEV_CLIENT_CAP_*``
  */
 struct v4l2_subdev_fh {
 	struct v4l2_fh vfh;
Signature · 1 line
2.30.2