summaryrefslogtreecommitdiff
path: root/sys/dev/ic/lm78var.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-03-22 16:55:32 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-03-22 16:55:32 +0000
commitbfcfcc95f91a9ef756b3184426381561b7f4dc23 (patch)
tree86156fd65b4c74f4b929cb5bcd06ed881f46f591 /sys/dev/ic/lm78var.h
parentd0617786c492a05d286defedc41f1cac5a22411d (diff)
split userland & kernel struct sensor/sensordev so that the addition
of new fields in the future is less disruptive. This is done similar to how struct proc is handled for ps(1). ok jmc (man page changes) tested fkr simon, and more suggestions from millert
Diffstat (limited to 'sys/dev/ic/lm78var.h')
-rw-r--r--sys/dev/ic/lm78var.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/lm78var.h b/sys/dev/ic/lm78var.h
index eff056f1154..3d526396ff6 100644
--- a/sys/dev/ic/lm78var.h
+++ b/sys/dev/ic/lm78var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: lm78var.h,v 1.10 2007/02/22 20:44:51 kettenis Exp $ */
+/* $OpenBSD: lm78var.h,v 1.11 2007/03/22 16:55:31 deraadt Exp $ */
/*
* Copyright (c) 2005, 2006 Mark Kettenis
@@ -137,8 +137,8 @@ struct lm_sensor {
struct lm_softc {
struct device sc_dev;
- struct sensor sensors[WB_MAX_SENSORS];
- struct sensordev sensordev;
+ struct ksensor sensors[WB_MAX_SENSORS];
+ struct ksensordev sensordev;
struct lm_sensor *lm_sensors;
u_int numsensors;
void (*refresh_sensor_data) (struct lm_softc *);