pdfdocs: Fix 'make pdfdocs' failure for 'uio-howto.tmpl'
authorSharon Dvir <sharon.dvir1@mail.huji.ac.il>
Tue, 27 Jan 2015 20:59:54 +0000 (22:59 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Feb 2015 23:48:51 +0000 (15:48 -0800)
'make pdfdocs' failed for uio-howto.tmpl and reported errors of the form:
'document type does not allow element "varname" here; missing one of "remark", "synopsis", "fieldsynopsis", "literallayout", "programlisting", "screen", "para", "simpara", "bridgehead" start-tag'
and similar.
Fixed by adding '<para>' and '</para>' tags to a location that made sense, fixed the errors and the pdf looks OK in relevant ereas.

Signed-off-by: Sharon Dvir <sharon.dvir1@mail.huji.ac.il>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/DocBook/uio-howto.tmpl

index 1fdc246e425614b3e9ea2096de11e44ea728e904..cd0e452dfed56e91e8fd4223cf3536da4e90f799 100644 (file)
@@ -719,7 +719,7 @@ framework to set up sysfs files for this region. Simply leave it alone.
        </para>
 </sect1>
 
-<sect1 id="using uio_dmem_genirq">
+<sect1 id="using-uio_dmem_genirq">
 <title>Using uio_dmem_genirq for platform devices</title>
        <para>
        In addition to statically allocated memory ranges, they may also be
@@ -746,16 +746,16 @@ framework to set up sysfs files for this region. Simply leave it alone.
        following elements:
        </para>
        <itemizedlist>
-       <listitem><varname>struct uio_info uioinfo</varname>: The same
+       <listitem><para><varname>struct uio_info uioinfo</varname>: The same
        structure used as the  <varname>uio_pdrv_genirq</varname> platform
-       data</listitem>
-       <listitem><varname>unsigned int *dynamic_region_sizes</varname>:
+       data</para></listitem>
+       <listitem><para><varname>unsigned int *dynamic_region_sizes</varname>:
        Pointer to list of sizes of dynamic memory regions to be mapped into
        user space.
-       </listitem>
-       <listitem><varname>unsigned int num_dynamic_regions</varname>:
+       </para></listitem>
+       <listitem><para><varname>unsigned int num_dynamic_regions</varname>:
        Number of elements in <varname>dynamic_region_sizes</varname> array.
-       </listitem>
+       </para></listitem>
        </itemizedlist>
        <para>
        The dynamic regions defined in the platform data will be appended to
This page took 0.025854 seconds and 5 git commands to generate.