mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-17 10:59:31 +00:00
Fix driver not being called by i2c-proc.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2473 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
39d1d4dfa5
commit
7c8db8e5ff
1 file changed
+4
-1
@@ -441,7 +441,7 @@ static int pc87360_find(u8 *devid, int *address)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* We should not trust the address, it is unset.
|
||||
/* We don't really care about the address.
|
||||
Read from extra_isa instead. */
|
||||
int pc87360_detect(struct i2c_adapter *adapter, int address,
|
||||
unsigned short flags, int kind)
|
||||
@@ -852,6 +852,9 @@ static int __init pc87360_init(void)
|
||||
return -ENODEV;
|
||||
}
|
||||
|
||||
/* i2c-proc wants a checkable region */
|
||||
normal_isa[0] = extra_isa[0];
|
||||
|
||||
return i2c_add_driver(&pc87360_driver);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user