summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica/acpivar.h
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2004-02-19 18:20:03 +0000
committernjl <njl@FreeBSD.org>2004-02-19 18:20:03 +0000
commitfa700f7ba0fddd8ba2864e5adc77abf8a03a5f8a (patch)
tree6b98f7d986af4a98a3a3498b6f110e0684ad6fb1 /sys/dev/acpica/acpivar.h
parent84e7bd5bf900eda95ba93e398b8d856681a1bd83 (diff)
downloadFreeBSD-src-fa700f7ba0fddd8ba2864e5adc77abf8a03a5f8a.zip
FreeBSD-src-fa700f7ba0fddd8ba2864e5adc77abf8a03a5f8a.tar.gz
Use ACPI_NEXT_RESOURCE instead of defining our own copy. The one provided
with ACPI-CA is identical now.
Diffstat (limited to 'sys/dev/acpica/acpivar.h')
-rw-r--r--sys/dev/acpica/acpivar.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/acpica/acpivar.h b/sys/dev/acpica/acpivar.h
index 4b64b07..a94ce7b 100644
--- a/sys/dev/acpica/acpivar.h
+++ b/sys/dev/acpica/acpivar.h
@@ -221,8 +221,6 @@ struct acpi_parse_resource_set {
extern struct acpi_parse_resource_set acpi_res_parse_set;
extern ACPI_STATUS acpi_parse_resources(device_t dev, ACPI_HANDLE handle,
struct acpi_parse_resource_set *set);
-/* XXX until Intel fix this in their headers, based on NEXT_RESOURCE */
-#define ACPI_RESOURCE_NEXT(Res) (ACPI_RESOURCE *)((UINT8 *)Res + Res->Length)
/* ACPI event handling */
extern UINT32 acpi_event_power_button_sleep(void *context);
OpenPOWER on IntegriCloud