]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - Documentation/DocBook/uio-howto.tmpl
uio: make uio_info's name and version const
[linux-2.6.git] / Documentation / DocBook / uio-howto.tmpl
index 6116b93608df87246b30a845a37da3a86c1883ce..b787e4721c90d4134f2e579ecd46006a16ea4e4a 100644 (file)
@@ -393,12 +393,12 @@ offset = N * getpagesize();
 
 <itemizedlist>
 <listitem><para>
-<varname>char *name</varname>: Required. The name of your driver as
+<varname>const char *name</varname>: Required. The name of your driver as
 it will appear in sysfs. I recommend using the name of your module for this.
 </para></listitem>
 
 <listitem><para>
-<varname>char *version</varname>: Required. This string appears in
+<varname>const char *version</varname>: Required. This string appears in
 <filename>/sys/class/uio/uioX/version</filename>.
 </para></listitem>