Merge tag 'libnvdimm-for-4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdim...
[GitHub/moto-9609/android_kernel_motorola_exynos9610.git] / drivers / acpi / nfit / core.c
index 42221e785c47b9f52a51572214e41973a9b96cd0..9c2c49b6a240d55164ee8c39ce64e1d595072c62 100644 (file)
@@ -2922,7 +2922,7 @@ static int acpi_nfit_flush_probe(struct nvdimm_bus_descriptor *nd_desc)
         * need to be interruptible while waiting.
         */
        INIT_WORK_ONSTACK(&flush.work, flush_probe);
-       COMPLETION_INITIALIZER_ONSTACK(flush.cmp);
+       init_completion(&flush.cmp);
        queue_work(nfit_wq, &flush.work);
        mutex_unlock(&acpi_desc->init_mutex);