]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/mtd/nand/mxc_nand.c
tree-wide: use reinit_completion instead of INIT_COMPLETION
[karo-tx-linux.git] / drivers / mtd / nand / mxc_nand.c
index 4edea7f4462f831c52abfa7a167e602f362902fd..9dfdb06c508b05439cd93a71ce5c30ef8558335e 100644 (file)
@@ -396,7 +396,7 @@ static void wait_op_done(struct mxc_nand_host *host, int useirq)
 
        if (useirq) {
                if (!host->devtype_data->check_int(host)) {
-                       INIT_COMPLETION(host->op_completion);
+                       reinit_completion(&host->op_completion);
                        irq_control(host, 1);
                        wait_for_completion(&host->op_completion);
                }