diff options
author | njl <njl@FreeBSD.org> | 2005-03-02 04:36:24 +0000 |
---|---|---|
committer | njl <njl@FreeBSD.org> | 2005-03-02 04:36:24 +0000 |
commit | 89cf2871b8fc134ee43cb39af666e7b439b2c5cc (patch) | |
tree | aa8884ea536f48df3c1ac60b73e87c4e1edfd9b2 | |
parent | b7cba6037a9dc9a7a89d426d5fc1ab1185120aed (diff) | |
download | FreeBSD-src-89cf2871b8fc134ee43cb39af666e7b439b2c5cc.zip FreeBSD-src-89cf2871b8fc134ee43cb39af666e7b439b2c5cc.tar.gz |
Protect acpivar.h with _KERNEL. No user parts inside currently.
-rw-r--r-- | sys/dev/acpica/acpivar.h | 3 |
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_ */ |