From 891932b7f3ada94905ef6cc670008b2cb0e17441 Mon Sep 17 00:00:00 2001 From: njl Date: Tue, 23 Dec 2003 18:26:53 +0000 Subject: Remove the device_t parameter from package routines that only used it to print an error message. Update all callers of the package routines. --- sys/dev/acpica/acpivar.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'sys/dev/acpica/acpivar.h') diff --git a/sys/dev/acpica/acpivar.h b/sys/dev/acpica/acpivar.h index b913625..f9f7c71 100644 --- a/sys/dev/acpica/acpivar.h +++ b/sys/dev/acpica/acpivar.h @@ -292,12 +292,9 @@ extern int acpi_acad_get_acline(int *); #define ACPI_PKG_VALID(pkg, size) \ ((pkg) != NULL && (pkg)->Type == ACPI_TYPE_PACKAGE && \ (pkg)->Package.Count >= (size)) -int acpi_PkgInt(device_t dev, ACPI_OBJECT *res, int idx, - ACPI_INTEGER *dst); -int acpi_PkgInt32(device_t dev, ACPI_OBJECT *res, int idx, - uint32_t *dst); -int acpi_PkgStr(device_t dev, ACPI_OBJECT *res, int idx, void *dst, - size_t size); +int acpi_PkgInt(ACPI_OBJECT *res, int idx, ACPI_INTEGER *dst); +int acpi_PkgInt32(ACPI_OBJECT *res, int idx, uint32_t *dst); +int acpi_PkgStr(ACPI_OBJECT *res, int idx, void *dst, size_t size); int acpi_PkgGas(device_t dev, ACPI_OBJECT *res, int idx, int *rid, struct resource **dst); -- cgit v1.1