diff options
Diffstat (limited to 'sys/dev/i2c/adm1021.c')
-rw-r--r-- | sys/dev/i2c/adm1021.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/i2c/adm1021.c b/sys/dev/i2c/adm1021.c index 45a5149e56b..f5541ae0ba6 100644 --- a/sys/dev/i2c/adm1021.c +++ b/sys/dev/i2c/adm1021.c @@ -1,4 +1,4 @@ -/* $OpenBSD: adm1021.c,v 1.20 2006/01/03 07:55:47 kettenis Exp $ */ +/* $OpenBSD: adm1021.c,v 1.21 2006/01/19 17:08:39 grange Exp $ */ /* * Copyright (c) 2005 Theo de Raadt @@ -153,7 +153,7 @@ admtemp_attach(struct device *parent, struct device *self, void *aux) } for (i = 0; i < (sc->sc_noexternal ? 1 : ADMTEMP_NUM_SENSORS); i++) - SENSOR_ADD(&sc->sc_sensor[i]); + sensor_add(&sc->sc_sensor[i]); printf("\n"); } |