2
0
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:
Jean Delvare
2004-04-24 21:29:01 +00:00
parent 39d1d4dfa5
commit 7c8db8e5ff

View File

@@ -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);
}