mirror of
https://github.com/Fred78290/nct6687d
synced 2024-12-26 09:58:47 +01:00
Merge pull request #60 from Fred78290/issue#59
FIX: Use the same enum for chipset NCT6686 and NCT6686D
This commit is contained in:
commit
6ea533e08c
1 changed files with 1 additions and 3 deletions
|
@ -1102,10 +1102,8 @@ static int __init nct6687_find(int sioaddr, struct nct6687_sio_data *sio_data)
|
||||||
|
|
||||||
if (val == SIO_NCT6683D_ID) {
|
if (val == SIO_NCT6683D_ID) {
|
||||||
sio_data->kind = nct6683;
|
sio_data->kind = nct6683;
|
||||||
} else if (val == SIO_NCT6686_ID) {
|
} else if (val == SIO_NCT6686_ID || val == SIO_NCT6686D_ID) {
|
||||||
sio_data->kind = nct6686;
|
sio_data->kind = nct6686;
|
||||||
} else if (val == SIO_NCT6686D_ID) {
|
|
||||||
sio_data->kind = nct6686d;
|
|
||||||
} else if (val == SIO_NCT6687_ID || val == SIO_NCT6687D_ID || force)
|
} else if (val == SIO_NCT6687_ID || val == SIO_NCT6687D_ID || force)
|
||||||
{
|
{
|
||||||
sio_data->kind = nct6687;
|
sio_data->kind = nct6687;
|
||||||
|
|
Loading…
Reference in a new issue