mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-30 22:05:11 +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:
@@ -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