]> Pileus Git - ~andy/linux/blobdiff - drivers/tty/metag_da.c
Merge tag 'samsung-clk-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tfiga...
[~andy/linux] / drivers / tty / metag_da.c
index 0e888621f48464256b0375614d950f1dab43a8e4..7332e2ca46151b112a81775f1b4680ad51ce3ea3 100644 (file)
@@ -495,7 +495,7 @@ static int dashtty_write(struct tty_struct *tty, const unsigned char *buf,
        count = dport->xmit_cnt;
        /* xmit buffer no longer empty? */
        if (count)
-               INIT_COMPLETION(dport->xmit_empty);
+               reinit_completion(&dport->xmit_empty);
        mutex_unlock(&dport->xmit_lock);
 
        if (total) {