From 5da5abe5fc04cec2976865a8a9ee894a7aecb5ed Mon Sep 17 00:00:00 2001 From: Roman Kiryanov Date: Fri, 6 Apr 2018 15:21:57 -0700 Subject: [PATCH] Fix whitespace in drivers/tty/goldfish.c Change-Id: I5454fc73d9f8a9fbafc1e2ccd37fe45685cf64d7 Signed-off-by: Roman Kiryanov --- drivers/tty/goldfish.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/tty/goldfish.c b/drivers/tty/goldfish.c index c6ec9e64451b..01af1ae9f27c 100644 --- a/drivers/tty/goldfish.c +++ b/drivers/tty/goldfish.c @@ -181,6 +181,7 @@ static void goldfish_tty_shutdown(struct tty_port *port) static int goldfish_tty_open(struct tty_struct *tty, struct file *filp) { struct goldfish_tty *qtty = &goldfish_ttys[tty->index]; + return tty_port_open(&qtty->port, tty, filp); } @@ -210,6 +211,7 @@ static int goldfish_tty_chars_in_buffer(struct tty_struct *tty) { struct goldfish_tty *qtty = &goldfish_ttys[tty->index]; void __iomem *base = qtty->base; + return readl(base + GOLDFISH_TTY_REG_BYTES_READY); }