OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86f9f95
)
Fix whitespace in drivers/tty/goldfish.c
author
Roman Kiryanov
<rkir@google.com>
Fri, 6 Apr 2018 22:21:57 +0000
(15:21 -0700)
committer
Greg Kroah-Hartman
<gregkh@google.com>
Sat, 7 Apr 2018 07:47:48 +0000
(07:47 +0000)
Change-Id: I5454fc73d9f8a9fbafc1e2ccd37fe45685cf64d7
Signed-off-by: Roman Kiryanov <rkir@google.com>
drivers/tty/goldfish.c
patch
|
blob
|
history
diff --git
a/drivers/tty/goldfish.c
b/drivers/tty/goldfish.c
index
c6ec9e6
..
01af1ae
100644
(file)
--- 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);
}