Protect acpivar.h with _KERNEL. No user parts inside currently.
This commit is contained in:
parent
ae9d8a2668
commit
2d81061879
@ -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_ */
|
||||
|
Loading…
Reference in New Issue
Block a user