Changeset View
Changeset View
Standalone View
Standalone View
sys/compat/linuxkpi/common/include/linux/acpi.h
- This file was copied to sys/compat/linuxkpi/common/include/linux/uuid.h.
Show All 26 Lines | |||||
* | * | ||||
* $FreeBSD$ | * $FreeBSD$ | ||||
*/ | */ | ||||
#ifndef _LINUX_ACPI_H_ | #ifndef _LINUX_ACPI_H_ | ||||
#define _LINUX_ACPI_H_ | #define _LINUX_ACPI_H_ | ||||
#include <linux/device.h> | #include <linux/device.h> | ||||
#include <linux/uuid.h> | |||||
#if defined(__aarch64__) || defined(__amd64__) || defined(__i386__) | #if defined(__aarch64__) || defined(__amd64__) || defined(__i386__) | ||||
#include <acpi/acpi.h> | #include <acpi/acpi.h> | ||||
#include <acpi/acpi_bus.h> | #include <acpi/acpi_bus.h> | ||||
#define ACPI_HANDLE(dev) \ | #define ACPI_HANDLE(dev) \ | ||||
((dev)->bsddev != NULL ? bsd_acpi_get_handle((dev)->bsddev) : NULL) | ((dev)->bsddev != NULL ? bsd_acpi_get_handle((dev)->bsddev) : NULL) | ||||
#endif | #endif | ||||
#endif /* _LINUX_ACPI_H_ */ | #endif /* _LINUX_ACPI_H_ */ |