diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-12-28 18:41:25 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-12-28 18:41:25 +0000 |
commit | d10105467dc94b220a4a4cc96c697392c2dd8630 (patch) | |
tree | 3742a0bc8659a0b4808e57e67392cc472aa0eb5e /sys/dev/i2c | |
parent | 34cb6d082424ccdaa209171bd8a236f21db2263b (diff) |
symbolic + 3
Diffstat (limited to 'sys/dev/i2c')
-rw-r--r-- | sys/dev/i2c/adm1025.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/i2c/adm1025.c b/sys/dev/i2c/adm1025.c index 28cb1873c30..c4c8c86885c 100644 --- a/sys/dev/i2c/adm1025.c +++ b/sys/dev/i2c/adm1025.c @@ -1,4 +1,4 @@ -/* $OpenBSD: adm1025.c,v 1.16 2005/12/27 22:49:41 deraadt Exp $ */ +/* $OpenBSD: adm1025.c,v 1.17 2005/12/28 18:41:24 deraadt Exp $ */ /* * Copyright (c) 2005 Theo de Raadt @@ -114,7 +114,7 @@ admtm_attach(struct device *parent, struct device *self, void *aux) sc->sc_nsensors = ADMTM_NUM_SENSORS; sc->sc_model = 1025; if (strcmp(ia->ia_name, "47m192") == 0) { - sc->sc_nsensors += 3; + sc->sc_nsensors += SMSC_NUM_SENSORS; sc->sc_model = 192; } |