summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica/acpivar.h
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2005-03-02 04:36:24 +0000
committernjl <njl@FreeBSD.org>2005-03-02 04:36:24 +0000
commit89cf2871b8fc134ee43cb39af666e7b439b2c5cc (patch)
treeaa8884ea536f48df3c1ac60b73e87c4e1edfd9b2 /sys/dev/acpica/acpivar.h
parentb7cba6037a9dc9a7a89d426d5fc1ab1185120aed (diff)
downloadFreeBSD-src-89cf2871b8fc134ee43cb39af666e7b439b2c5cc.zip
FreeBSD-src-89cf2871b8fc134ee43cb39af666e7b439b2c5cc.tar.gz
Protect acpivar.h with _KERNEL. No user parts inside currently.
Diffstat (limited to 'sys/dev/acpica/acpivar.h')
-rw-r--r--sys/dev/acpica/acpivar.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/acpica/acpivar.h b/sys/dev/acpica/acpivar.h
index 7481a23..04d1041 100644
--- a/sys/dev/acpica/acpivar.h
+++ b/sys/dev/acpica/acpivar.h
@@ -31,6 +31,8 @@
#ifndef _ACPIVAR_H_
#define _ACPIVAR_H_
+#ifdef _KERNEL
+
#include "acpi_if.h"
#include "bus_if.h"
#include <sys/eventhandler.h>
@@ -410,4 +412,5 @@ ACPI_HANDLE acpi_GetReference(ACPI_HANDLE scope, ACPI_OBJECT *obj);
/* ACPI task kernel thread initialization. */
int acpi_task_thread_init(void);
+#endif /* _KERNEL */
#endif /* !_ACPIVAR_H_ */
OpenPOWER on IntegriCloud