summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/core/engine/device/acpi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/nouveau/core/engine/device/acpi.c')
-rw-r--r--drivers/gpu/drm/nouveau/core/engine/device/acpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/core/engine/device/acpi.c b/drivers/gpu/drm/nouveau/core/engine/device/acpi.c
index 79a2e4d4731..4dbf0ba89e5 100644
--- a/drivers/gpu/drm/nouveau/core/engine/device/acpi.c
+++ b/drivers/gpu/drm/nouveau/core/engine/device/acpi.c
@@ -33,7 +33,7 @@ nvkm_acpi_ntfy(struct notifier_block *nb, unsigned long val, void *data)
struct acpi_bus_event *info = data;
if (!strcmp(info->device_class, "ac_adapter"))
- nouveau_event_trigger(device->ntfy, 1, NVKM_DEVICE_NTFY_POWER);
+ nvkm_event_send(&device->event, 1, 0, NULL, 0);
return NOTIFY_DONE;
}