summaryrefslogtreecommitdiffstats
path: root/sys/dev/i2c/maxim6690.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2007-03-22 16:55:31 +0000
committerderaadt <deraadt@openbsd.org>2007-03-22 16:55:31 +0000
commit275cbf6284ffdb1e2073d21a1d262a36bf3611fe (patch)
tree909d59f6dac2546da8daabc7d7a3a8c9a46073f4 /sys/dev/i2c/maxim6690.c
parents/%ssredistribute/%sredistribute/. One s is enough and makes -nv output (diff)
downloadwireguard-openbsd-275cbf6284ffdb1e2073d21a1d262a36bf3611fe.tar.xz
wireguard-openbsd-275cbf6284ffdb1e2073d21a1d262a36bf3611fe.zip
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/i2c/maxim6690.c')
-rw-r--r--sys/dev/i2c/maxim6690.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/i2c/maxim6690.c b/sys/dev/i2c/maxim6690.c
index 80031bd0768..f8448595d13 100644
--- a/sys/dev/i2c/maxim6690.c
+++ b/sys/dev/i2c/maxim6690.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: maxim6690.c,v 1.13 2006/12/23 17:46:39 deraadt Exp $ */
+/* $OpenBSD: maxim6690.c,v 1.14 2007/03/22 16:55:31 deraadt Exp $ */
/*
* Copyright (c) 2005 Theo de Raadt
@@ -54,8 +54,8 @@ struct maxtmp_softc {
u_int8_t sc_temp_invalid[2];
u_int8_t sc_temp2_mask;
- struct sensor sc_sensor[MAXTMP_NUM_SENSORS];
- struct sensordev sc_sensordev;
+ struct ksensor sc_sensor[MAXTMP_NUM_SENSORS];
+ struct ksensordev sc_sensordev;
};
int maxtmp_match(struct device *, void *, void *);