aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/gpio/gpioaei.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/gpio/gpioaei.c')
-rw-r--r--sys/dev/gpio/gpioaei.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/gpio/gpioaei.c b/sys/dev/gpio/gpioaei.c
index 9a769a793e5a..3451d3120843 100644
--- a/sys/dev/gpio/gpioaei.c
+++ b/sys/dev/gpio/gpioaei.c
@@ -208,7 +208,7 @@ gpio_aei_attach(device_t dev)
/* This is us. */
device_set_desc(dev, "ACPI Event Information Device");
- handle = acpi_gpiobus_get_handle(dev);
+ handle = acpi_get_handle(dev);
status = AcpiGetParent(handle, &sc->dev_handle);
if (ACPI_FAILURE(status)) {
device_printf(dev, "Cannot get parent of %s\n",