Show
Ignore:
Timestamp:
12/04/04 22:18:34 (8 years ago)
Author:
khali
Message:

Restore controlling_mod argument to i2c_register_entry(). This
is needed to properly lock chip drivers in memory while anyone uses their
/proc entries. This also brings back compatibility with the 2.4 Linux
kernel.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/kernel/chips/fscscy.c

    r2781 r2784  
    370370        /* Register a new directory entry with module sensors */ 
    371371        if ((i = i2c_register_entry(new_client, type_name, 
    372                                         fscscy_dir_table_template)) < 0) { 
     372                                        fscscy_dir_table_template, 
     373                                        THIS_MODULE)) < 0) { 
    373374                err = i; 
    374375                goto ERROR4;