X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=blobdiff_plain;f=drivers%2Fchar%2Ftty_port.c;h=4e862a75f7ff213bd62022e852a9d485b65adbbf;hp=62dadfc95e341078ef42a284366cef37dbac6432;hb=6af9a43d58f2ec455b752fb9534cf05c7e855dbe;hpb=3f27c0d2a469673e0f1efc8004b6f42428aa5b94 diff --git a/drivers/char/tty_port.c b/drivers/char/tty_port.c index 62dadfc95e34..4e862a75f7ff 100644 --- a/drivers/char/tty_port.c +++ b/drivers/char/tty_port.c @@ -193,7 +193,7 @@ int tty_port_block_til_ready(struct tty_port *port, { int do_clocal = 0, retval; unsigned long flags; - DECLARE_WAITQUEUE(wait, current); + DEFINE_WAIT(wait); int cd; /* block if port is in the process of being closed */