summaryrefslogtreecommitdiff
path: root/sys/arch/macppc
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/macppc')
-rw-r--r--sys/arch/macppc/dev/asms.c4
-rw-r--r--sys/arch/macppc/dev/smu.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/macppc/dev/asms.c b/sys/arch/macppc/dev/asms.c
index 157f0a0bdb3..17724436754 100644
--- a/sys/arch/macppc/dev/asms.c
+++ b/sys/arch/macppc/dev/asms.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: asms.c,v 1.2 2006/01/06 08:18:17 xsa Exp $ */
+/* $OpenBSD: asms.c,v 1.3 2006/01/19 17:08:39 grange Exp $ */
/*
* Copyright (c) 2005 Xavier Santolaria <xsa@openbsd.org>
*
@@ -269,7 +269,7 @@ asms_attach(struct device *parent, struct device *self, void *aux)
}
for (i = 0; i < ASMS_NUM_SENSORS; i++)
- SENSOR_ADD(&sc->sc_sensor[i]);
+ sensor_add(&sc->sc_sensor[i]);
printf("\n");
}
diff --git a/sys/arch/macppc/dev/smu.c b/sys/arch/macppc/dev/smu.c
index 70e7edc67d9..c0e510635a7 100644
--- a/sys/arch/macppc/dev/smu.c
+++ b/sys/arch/macppc/dev/smu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: smu.c,v 1.10 2006/01/01 20:52:25 deraadt Exp $ */
+/* $OpenBSD: smu.c,v 1.11 2006/01/19 17:08:39 grange Exp $ */
/*
* Copyright (c) 2005 Mark Kettenis
@@ -291,7 +291,7 @@ smu_attach(struct device *parent, struct device *self, void *aux)
/* Start running fans at their "unmanaged" speed. */
smu_fan_set_rpm(sc, fan, fan->unmanaged_rpm);
- SENSOR_ADD(&fan->sensor);
+ sensor_add(&fan->sensor);
}
/* Sensors */
@@ -321,7 +321,7 @@ smu_attach(struct device *parent, struct device *self, void *aux)
strlcpy(loc, "Unknown", sizeof loc);
strlcpy(sensor->sensor.desc, loc, sizeof sensor->sensor.desc);
- SENSOR_ADD(&sensor->sensor);
+ sensor_add(&sensor->sensor);
}
/* CPU temperature diode calibration */