diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-09-08 05:48:50 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-09-09 09:55:18 -0300 |
commit | a17a954efde487f4072a33f05c5388bc42c51efc (patch) | |
tree | 3c4c9035ba4544a9fa98139f696b9c60d2bd193e /Documentation/media/uapi/v4l/dev-osd.rst | |
parent | fc78c7c7a1747912293ad9f78374f5be7f0acc6d (diff) | |
download | op-kernel-dev-a17a954efde487f4072a33f05c5388bc42c51efc.zip op-kernel-dev-a17a954efde487f4072a33f05c5388bc42c51efc.tar.gz |
[media] docs-rst: fix some broken struct references
The :c:type: references point to the structure name, and not to
struct foo.
Fixed via this shell script:
for i in `find Documentation/media -type f`; do perl -ne 'if (s/\:c\:type\:\`struct\s*(\S+)\`/struct :c:type:`$1`/) { s/struct\s+struct/struct/; s/(struct\s+\:c\:type\:\`\S+\`)\s+structure/$1/; } print $_' <$i >a && mv a $i; done
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'Documentation/media/uapi/v4l/dev-osd.rst')
-rw-r--r-- | Documentation/media/uapi/v4l/dev-osd.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/media/uapi/v4l/dev-osd.rst b/Documentation/media/uapi/v4l/dev-osd.rst index 0b246c3..71da85e 100644 --- a/Documentation/media/uapi/v4l/dev-osd.rst +++ b/Documentation/media/uapi/v4l/dev-osd.rst @@ -44,8 +44,8 @@ other information, the physical address of the framebuffer in the ``base`` field of struct :c:type:`v4l2_framebuffer`. The framebuffer device ioctl ``FBIOGET_FSCREENINFO`` returns the same address in the ``smem_start`` field of struct -:c:type:`struct fb_fix_screeninfo`. The ``FBIOGET_FSCREENINFO`` -ioctl and struct :c:type:`struct fb_fix_screeninfo` are defined in +struct :c:type:`fb_fix_screeninfo`. The ``FBIOGET_FSCREENINFO`` +ioctl and struct :c:type:`fb_fix_screeninfo` are defined in the ``linux/fb.h`` header file. The width and height of the framebuffer depends on the current video |