summaryrefslogtreecommitdiff
blob: a11b3cb261ba58ef86ea26c2800eb95b8e299ae9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- 1/usr/src/nv/nvacpi.c
+++ 1/usr/src/nv/nvacpi.c
@@ -259,7 +259,9 @@ static int nv_acpi_remove(struct acpi_device *device, int type)
 
     if (pNvAcpiObject->notify_handler_installed)
     {
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 13, 0)
         NV_ACPI_OS_WAIT_EVENTS_COMPLETE();
+#endif
 
         // remove event notifier
         status = acpi_remove_notify_handler(device->handle, ACPI_DEVICE_NOTIFY, nv_acpi_event);