diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2006-10-04 19:08:23 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2006-10-04 19:08:23 +0000 |
| commit | 0d3211cfd0b56d534d8d509d980d8c33fb0b2ad6 (patch) | |
| tree | ef842057d9d1befc70b47b37f839771f9eaf66bf /sys/dev | |
| parent | 5e97d0b747d68695afa5058308a944c6f827fb41 (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/acpica/acpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/acpica/acpi.c b/sys/dev/acpica/acpi.c index 6e7bdd364889..15b7d85887ae 100644 --- a/sys/dev/acpica/acpi.c +++ b/sys/dev/acpica/acpi.c @@ -1083,7 +1083,7 @@ acpi_release_resource(device_t bus, device_t child, int type, int rid, * If we know about this address, deactivate it and release it to the * local pool. If we don't, pass this request up to the parent. */ - if (acpi_sysres_find(bus, type, rman_get_start(r)) == NULL) { + if (acpi_sysres_find(bus, type, rman_get_start(r)) != NULL) { if (rman_get_flags(r) & RF_ACTIVE) { ret = bus_deactivate_resource(child, type, rid, r); if (ret != 0) |
