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/fscher.c

    r2781 r2784  
    308308  /* Register a new directory entry with module sensors */ 
    309309  if ((i = i2c_register_entry(new_client, type_name, 
    310                               fscher_dir_table_template)) < 0) { 
     310                              fscher_dir_table_template, 
     311                              THIS_MODULE)) < 0) { 
    311312    err = i; 
    312313    goto ERROR4;