|
@@ -2884,7 +2884,7 @@ static int acpi_nfit_flush_probe(struct nvdimm_bus_descriptor *nd_desc)
|
|
* need to be interruptible while waiting.
|
|
* need to be interruptible while waiting.
|
|
*/
|
|
*/
|
|
INIT_WORK_ONSTACK(&flush.work, flush_probe);
|
|
INIT_WORK_ONSTACK(&flush.work, flush_probe);
|
|
- COMPLETION_INITIALIZER_ONSTACK(flush.cmp);
|
|
|
|
|
|
+ init_completion(&flush.cmp);
|
|
queue_work(nfit_wq, &flush.work);
|
|
queue_work(nfit_wq, &flush.work);
|
|
mutex_unlock(&acpi_desc->init_mutex);
|
|
mutex_unlock(&acpi_desc->init_mutex);
|
|
|
|
|