diff options
author | njl <njl@FreeBSD.org> | 2003-12-23 18:26:53 +0000 |
---|---|---|
committer | njl <njl@FreeBSD.org> | 2003-12-23 18:26:53 +0000 |
commit | 891932b7f3ada94905ef6cc670008b2cb0e17441 (patch) | |
tree | 4e9612d54c8f5e3be4352a3406793ac7016e1c19 /sys/dev/acpica/acpivar.h | |
parent | 29de6d4f904c6f1388be9629cf9eba37fc24277e (diff) | |
download | FreeBSD-src-891932b7f3ada94905ef6cc670008b2cb0e17441.zip FreeBSD-src-891932b7f3ada94905ef6cc670008b2cb0e17441.tar.gz |
Remove the device_t parameter from package routines that only used it to
print an error message. Update all callers of the package routines.
Diffstat (limited to 'sys/dev/acpica/acpivar.h')
-rw-r--r-- | sys/dev/acpica/acpivar.h | 9 |
1 files changed, 3 insertions, 6 deletions
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); |