Loading drivers/tty/goldfish.c +2 −0 Original line number Diff line number Diff line Loading @@ -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); } Loading Loading @@ -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 Loading
drivers/tty/goldfish.c +2 −0 Original line number Diff line number Diff line Loading @@ -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); } Loading Loading @@ -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