mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-12-05 22:08:19 +00:00
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. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2784 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
30e56573c6
commit
7683ac84a4
53 files changed
+100
-54
No files matched your search
@@ -305,7 +305,7 @@ static int max1619_detect(struct i2c_adapter *adapter, int address,
|
||||
*/
|
||||
|
||||
if ((err = i2c_register_entry(new_client, type_name,
|
||||
max1619_dir_table_template)) < 0) {
|
||||
max1619_dir_table_template, THIS_MODULE)) < 0) {
|
||||
printk(KERN_ERR "max1619.o: Failed registering directory "
|
||||
"entry.\n");
|
||||
goto ERROR2;
|
||||
|
||||
Reference in new issue
Block a user