mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 20:32:04 +09:00
Fix whitespace in drivers/tty/goldfish.c
Change-Id: I5454fc73d9f8a9fbafc1e2ccd37fe45685cf64d7 Signed-off-by: Roman Kiryanov <rkir@google.com>
This commit is contained in:
committed by
Amit Pundir
parent
eab5b7eaae
commit
5da5abe5fc
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user