summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica/acpivar.h
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2005-02-28 05:39:34 +0000
committernjl <njl@FreeBSD.org>2005-02-28 05:39:34 +0000
commit60fa913bc3b0cab9cb3266e2d24903b08e772971 (patch)
tree419c1f193c01afeb7cbb60aecba5b476bc7e0e93 /sys/dev/acpica/acpivar.h
parentde6e7501a4012ae543f7f7b6d0ee399285a60186 (diff)
downloadFreeBSD-src-60fa913bc3b0cab9cb3266e2d24903b08e772971.zip
FreeBSD-src-60fa913bc3b0cab9cb3266e2d24903b08e772971.tar.gz
Protect against multiple includes and use _KERNEL to protect the PCI fns.
Diffstat (limited to 'sys/dev/acpica/acpivar.h')
-rw-r--r--sys/dev/acpica/acpivar.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/dev/acpica/acpivar.h b/sys/dev/acpica/acpivar.h
index fc800e5..7481a23 100644
--- a/sys/dev/acpica/acpivar.h
+++ b/sys/dev/acpica/acpivar.h
@@ -28,6 +28,9 @@
* $FreeBSD$
*/
+#ifndef _ACPIVAR_H_
+#define _ACPIVAR_H_
+
#include "acpi_if.h"
#include "bus_if.h"
#include <sys/eventhandler.h>
@@ -406,3 +409,5 @@ ACPI_HANDLE acpi_GetReference(ACPI_HANDLE scope, ACPI_OBJECT *obj);
/* ACPI task kernel thread initialization. */
int acpi_task_thread_init(void);
+
+#endif /* !_ACPIVAR_H_ */
OpenPOWER on IntegriCloud