Fix whitespace in drivers/tty/goldfish.c
Change-Id: I5454fc73d9f8a9fbafc1e2ccd37fe45685cf64d7 Signed-off-by: Roman Kiryanov <rkir@google.com>
This commit is contained in:
parent
86f9f957c5
commit
89332ea087
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue