summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica/acpi.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/acpica/acpi.c')
-rw-r--r--sys/dev/acpica/acpi.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/dev/acpica/acpi.c b/sys/dev/acpica/acpi.c
index b292bcc..9ccaf2d 100644
--- a/sys/dev/acpica/acpi.c
+++ b/sys/dev/acpica/acpi.c
@@ -387,6 +387,11 @@ acpi_attach(device_t dev)
goto out;
}
+ if (ACPI_FAILURE(status = AcpiInitializeObjects(flags))) {
+ device_printf(dev, "could not initialize ACPI objects: %s\n", AcpiFormatException(status));
+ goto out;
+ }
+
/*
* Setup our sysctl tree.
*
OpenPOWER on IntegriCloud