adding a few <para/> and correcting one entity

This commit is contained in:
Martin A. Brown 2016-03-01 21:19:26 -08:00
parent d790bad20c
commit 823c0634bd
1 changed files with 2 additions and 2 deletions

View File

@ -328,7 +328,7 @@ Module xxxxxx loaded, with warnings
<para>The <function>module_param()</function> macro takes 3 arguments: the name of the variable, its type and
permissions for the corresponding file in sysfs. Integer types can be signed as usual or unsigned.
If you'd like to use arrays of integers or strings see <function>module_param_array()</function> and
<function>module_param_string()</function>.
<function>module_param_string()</function>.</para>
<screen>
@ -346,7 +346,7 @@ module_param_array(myintarray, int, NULL, 0); /* not interested in count */
int myshortarray[4];
int count;
module_parm_array(myshortarray, short, &count, 0); /* put count into "count" variable */
module_parm_array(myshortarray, short, &amp;count, 0); /* put count into "count" variable */
</screen>
<para>A good use for this is to have the module variable's default values set, like an port or IO address. If the variables