Changeset 3412

Show
Ignore:
Timestamp:
11/30/99 21:35:07 (9 years ago)
Author:
frodo
Message:

Slight documentation update: sensors_register_entry now takes an

additional `struct module *' parameter, usually THIS_MODULE.
It is used to determine to what module the new files belong, and
is only used by 2.3.27 and newer kernels (but you will always need
to add it in!)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • i2c/trunk/doc/writing-clients

    r3399 r3412  
    531531       the `template' structure. */ 
    532532    if ((i = sensors_register_entry(new_client, type_name, 
    533                                     foo_dir_table_template)) < 0) { 
     533                                    foo_dir_table_template,THIS_MODULE)) < 0) { 
    534534      err = i; 
    535535      goto ERROR4;