summaryrefslogtreecommitdiff
path: root/sys/dev/acpi/acpidev.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/acpi/acpidev.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/acpi/acpidev.h')
-rw-r--r--sys/dev/acpi/acpidev.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/dev/acpi/acpidev.h b/sys/dev/acpi/acpidev.h
index 285f3a808ee..0193bf8c03c 100644
--- a/sys/dev/acpi/acpidev.h
+++ b/sys/dev/acpi/acpidev.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpidev.h,v 1.20 2007/01/27 19:37:57 marco Exp $ */
+/* $OpenBSD: acpidev.h,v 1.21 2007/03/22 16:55:31 deraadt Exp $ */
/*
* Copyright (c) 2005 Marco Peereboom <marco@openbsd.org>
* Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com>
@@ -264,8 +264,8 @@ struct acpiac_softc {
int sc_ac_stat;
- struct sensor sc_sens[1];
- struct sensordev sc_sensdev;
+ struct ksensor sc_sens[1];
+ struct ksensordev sc_sensdev;
};
struct acpibat_softc {
@@ -281,8 +281,8 @@ struct acpibat_softc {
struct acpibat_bst sc_bst;
volatile int sc_bat_present;
- struct sensor sc_sens[8];
- struct sensordev sc_sensdev;
+ struct ksensor sc_sens[8];
+ struct ksensordev sc_sensdev;
};
struct acpidock_softc {
@@ -294,8 +294,8 @@ struct acpidock_softc {
struct acpi_softc *sc_acpi;
struct aml_node *sc_devnode;
- struct sensor sc_sens[1];
- struct sensordev sc_sensdev;
+ struct ksensor sc_sens[1];
+ struct ksensordev sc_sensdev;
int sc_docked;
int sc_sta;