summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2004-06-07 21:44:01 +0000
committernjl <njl@FreeBSD.org>2004-06-07 21:44:01 +0000
commit2aec9e5a1887896b2f372c200feecab2c301869f (patch)
treea76f8c733061a992b603228dde31f733fa16594c /sys/dev/acpica
parent62c876af4fa22a72c9829c0bde3483bb461d121d (diff)
downloadFreeBSD-src-2aec9e5a1887896b2f372c200feecab2c301869f.zip
FreeBSD-src-2aec9e5a1887896b2f372c200feecab2c301869f.tar.gz
Remove accidental change.
Diffstat (limited to 'sys/dev/acpica')
-rw-r--r--sys/dev/acpica/acpi_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/acpica/acpi_pci.c b/sys/dev/acpica/acpi_pci.c
index 9c133e1..03a5abf 100644
--- a/sys/dev/acpica/acpi_pci.c
+++ b/sys/dev/acpica/acpi_pci.c
@@ -193,7 +193,7 @@ acpi_pci_set_powerstate_method(device_t dev, device_t child, int state)
if (error)
return (error);
}
- h = acpi_get_handle(dev);
+ h = acpi_get_handle(child);
status = acpi_pwr_switch_consumer(h, acpi_state);
if (ACPI_FAILURE(status) && status != AE_NOT_FOUND)
device_printf(dev,
OpenPOWER on IntegriCloud