[media] Documentation: media: Remove double 'struct'
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 24 Mar 2014 12:48:13 +0000 (09:48 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 23 May 2014 22:47:05 +0000 (19:47 -0300)
The XML entities for media structures start with the 'struct' word.
Remove duplicate 'struct' from the entity users.

Reported-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Documentation/DocBook/media/v4l/io.xml
Documentation/DocBook/media/v4l/media-ioc-enum-links.xml

index 188e6211abd1f413419c704c6f956c67c5b6233a..a086a5db7a185a6c73ccf3ff6dcc0bcfed964e19 100644 (file)
@@ -125,7 +125,7 @@ location of the buffers in device memory can be determined with the
 <structfield>m.offset</structfield> and <structfield>length</structfield>
 returned in a &v4l2-buffer; are passed as sixth and second parameter to the
 <function>mmap()</function> function. When using the multi-planar API,
-struct &v4l2-buffer; contains an array of &v4l2-plane; structures, each
+&v4l2-buffer; contains an array of &v4l2-plane; structures, each
 containing its own <structfield>m.offset</structfield> and
 <structfield>length</structfield>. When using the multi-planar API, every
 plane of every buffer has to be mapped separately, so the number of
index cf8548556c7dcb0d28cef102ae5cba261b122899..74fb394ec6676295fbf5e46813aa0bec2b4fa108 100644 (file)
            <entry>Entity id, set by the application.</entry>
          </row>
          <row>
-           <entry>struct &media-pad-desc;</entry>
+           <entry>&media-pad-desc;</entry>
            <entry>*<structfield>pads</structfield></entry>
            <entry>Pointer to a pads array allocated by the application. Ignored
            if NULL.</entry>
          </row>
          <row>
-           <entry>struct &media-link-desc;</entry>
+           <entry>&media-link-desc;</entry>
            <entry>*<structfield>links</structfield></entry>
            <entry>Pointer to a links array allocated by the application. Ignored
            if NULL.</entry>
         &cs-str;
        <tbody valign="top">
          <row>
-           <entry>struct &media-pad-desc;</entry>
+           <entry>&media-pad-desc;</entry>
            <entry><structfield>source</structfield></entry>
            <entry>Pad at the origin of this link.</entry>
          </row>
          <row>
-           <entry>struct &media-pad-desc;</entry>
+           <entry>&media-pad-desc;</entry>
            <entry><structfield>sink</structfield></entry>
            <entry>Pad at the target of this link.</entry>
          </row>