aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/osl.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/osl.c')
-rw-r--r--drivers/acpi/osl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c
index c3881b2eb8b2..9eaf708f5885 100644
--- a/drivers/acpi/osl.c
+++ b/drivers/acpi/osl.c
@@ -891,7 +891,7 @@ static void acpi_os_execute_deferred(struct work_struct *work)
891 struct acpi_os_dpc *dpc = container_of(work, struct acpi_os_dpc, work); 891 struct acpi_os_dpc *dpc = container_of(work, struct acpi_os_dpc, work);
892 892
893 if (dpc->wait) 893 if (dpc->wait)
894 acpi_os_wait_events_complete(NULL); 894 acpi_os_wait_events_complete();
895 895
896 dpc->function(dpc->context); 896 dpc->function(dpc->context);
897 kfree(dpc); 897 kfree(dpc);
@@ -987,7 +987,7 @@ acpi_status acpi_os_hotplug_execute(acpi_osd_exec_callback function,
987 return __acpi_os_execute(0, function, context, 1); 987 return __acpi_os_execute(0, function, context, 1);
988} 988}
989 989
990void acpi_os_wait_events_complete(void *context) 990void acpi_os_wait_events_complete(void)
991{ 991{
992 flush_workqueue(kacpid_wq); 992 flush_workqueue(kacpid_wq);
993 flush_workqueue(kacpi_notify_wq); 993 flush_workqueue(kacpi_notify_wq);