summaryrefslogtreecommitdiff
path: root/sys/dev/i2c/fintek.c
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/i2c/fintek.c
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/i2c/fintek.c')
-rw-r--r--sys/dev/i2c/fintek.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/i2c/fintek.c b/sys/dev/i2c/fintek.c
index 928f8202770..7ad803d5ebb 100644
--- a/sys/dev/i2c/fintek.c
+++ b/sys/dev/i2c/fintek.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fintek.c,v 1.4 2006/12/24 01:26:20 deraadt Exp $ */
+/* $OpenBSD: fintek.c,v 1.5 2007/03/22 16:55:31 deraadt Exp $ */
/*
* Copyright (c) 2006 Dale Rahn <drahn@openbsd.org>
*
@@ -38,8 +38,8 @@ struct fintek_softc {
i2c_tag_t sc_tag;
i2c_addr_t sc_addr;
- struct sensor sc_sensor[F_NUM_SENSORS];
- struct sensordev sc_sensordev;
+ struct ksensor sc_sensor[F_NUM_SENSORS];
+ struct ksensordev sc_sensordev;
};
int fintek_match(struct device *, void *, void *);