[media] docs-rst: fix some broken struct references
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 8 Sep 2016 08:48:50 +0000 (05:48 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 9 Sep 2016 12:55:18 +0000 (09:55 -0300)
commita17a954efde487f4072a33f05c5388bc42c51efc
tree3c4c9035ba4544a9fa98139f696b9c60d2bd193e
parentfc78c7c7a1747912293ad9f78374f5be7f0acc6d
[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>
Documentation/media/uapi/cec/cec-func-poll.rst
Documentation/media/uapi/v4l/buffer.rst
Documentation/media/uapi/v4l/dev-osd.rst
Documentation/media/uapi/v4l/hist-v4l2.rst