]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
media: v4l2-subdev.h: fix a kernel-doc markup
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 29 Sep 2020 09:15:36 +0000 (11:15 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 30 Sep 2020 16:50:20 +0000 (18:50 +0200)
As reported by Sphinx:

./Documentation/driver-api/media/v4l2-subdev:490: ./include/media/v4l2-subdev.h:384: WARNING: Unparseable C cross-reference: 'struct'
Invalid C declaration: Expected identifier in nested name, got keyword: struct [error at 6]
  struct
  ------^

The markup there is wrong:
&struct &v4l2_input -> &struct v4l2_input

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
include/media/v4l2-subdev.h

index 6f6795bab737b36cb21a3e2b1d80e98c050b2d3d..1de960bfcab9ce561d6fae33b1794222eba87f7c 100644 (file)
@@ -381,7 +381,7 @@ struct v4l2_mbus_frame_desc {
  *     OUTPUT device. This is ignored by video capture devices.
  *
  * @g_input_status: get input status. Same as the status field in the
- *     &struct &v4l2_input
+ *     &struct v4l2_input
  *
  * @s_stream: used to notify the driver that a video stream will start or has
  *     stopped.