       module_param_array () -
 .

module param array(name, type, nump, perm);

    name        -
, type      , a perm      
   sysfs.   nump     
,     ,   . 
,  ,      name,  
 .         -
,     .    ,  
 .

static int fish[MAX_FISH];

static int nr_fish;

module_param_array(fish, int, &nr_fish, 0444);

    ,     , 
     module_param_array_named().

module_param_array_named(name, array, type, nump, perm) ;

     .
,    ,   MODULE_
PARM_DESC().

static unsigned short size = 1;

module_param(size, ushort, 0644);

MODULE_PARM_DESC (size, "The size in inches of the fishing pole " \
"connected to this computer.");

         

<linux/moduleparam.h>.

 

      .      
     ,   -
       (    -
),     .   
     EXPORT_SYMBOL ()  EXPORT_
SYMBOL_GPL().

,  ,    .
,   ,      . 
        ,  
  .        (-
 ,      static),     -
    .  , ,  
   static.

  ,  ,   -
    (   ) API .

                                                                 353