]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/tty/hvc/hvc_console.c
TTY: switch tty_buffer_request_room to tty_port
[karo-tx-linux.git] / drivers / tty / hvc / hvc_console.c
index 13ee53bd0bf66869c201e901d3bf16ff35039e17..3d2ea92b8505d7721a9fd8025757b1582b86bce2 100644 (file)
@@ -629,7 +629,7 @@ int hvc_poll(struct hvc_struct *hp)
 
        /* Read data if any */
        for (;;) {
-               int count = tty_buffer_request_room(tty, N_INBUF);
+               int count = tty_buffer_request_room(&hp->port, N_INBUF);
 
                /* If flip is full, just reschedule a later read */
                if (count == 0) {