summaryrefslogtreecommitdiff
path: root/sys/dev/i2c/adt7460.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/i2c/adt7460.c')
-rw-r--r--sys/dev/i2c/adt7460.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/i2c/adt7460.c b/sys/dev/i2c/adt7460.c
index 11aeaafc0f5..248c05a4db9 100644
--- a/sys/dev/i2c/adt7460.c
+++ b/sys/dev/i2c/adt7460.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: adt7460.c,v 1.5 2005/12/28 00:42:14 deraadt Exp $ */
+/* $OpenBSD: adt7460.c,v 1.6 2006/01/19 17:08:39 grange Exp $ */
/*
* Copyright (c) 2005 Mark Kettenis
@@ -178,7 +178,7 @@ adt_attach(struct device *parent, struct device *self, void *aux)
}
for (i = 0; i < ADT_NUM_SENSORS; i++)
- SENSOR_ADD(&sc->sc_sensor[i]);
+ sensor_add(&sc->sc_sensor[i]);
printf("\n");
}