diff options
| author | Peter Wemm <peter@FreeBSD.org> | 2004-08-16 23:10:18 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 2004-08-16 23:10:18 +0000 |
| commit | e88022749d19a5da7a390603116d47749912707a (patch) | |
| tree | 670380e8cde2544c76bbd255f33ae10b25f33bde /sys | |
| parent | deefc3c4f59b7facf347013419f93469881ac591 (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/amd64/acpica/acpi_machdep.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/amd64/acpica/acpi_machdep.c b/sys/amd64/acpica/acpi_machdep.c index a418b7195045..352842f99100 100644 --- a/sys/amd64/acpica/acpi_machdep.c +++ b/sys/amd64/acpica/acpi_machdep.c @@ -40,8 +40,7 @@ acpi_machdep_init(device_t dev) { struct acpi_softc *sc; - sc = device_get_softc(dev); - + sc = devclass_get_softc(devclass_find("acpi"), 0); acpi_install_wakeup_handler(sc); if (intr_model != ACPI_INTR_PIC) |
