summaryrefslogtreecommitdiff
path: root/hw/char/lm32_uart.c
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-10-22 12:52:53 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2016-10-24 15:27:20 +0200
commit7fa47e2a80e1c204533340f65909b7fc7c6b276f (patch)
tree06fa4c2de9409c5d1b3f1ec934f8f1234d4de949 /hw/char/lm32_uart.c
parent32a6ebecd2ffe82ffade5edf9e054e20cb48f281 (diff)
downloadqemu-7fa47e2a80e1c204533340f65909b7fc7c6b276f.tar.gz
qemu-7fa47e2a80e1c204533340f65909b7fc7c6b276f.tar.bz2
qemu-7fa47e2a80e1c204533340f65909b7fc7c6b276f.zip
char: rename some frontend functions
qemu_chr_accept_input() and qemu_chr_disconnect() are only used by frontend, so use qemu_chr_fe prefix. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20161022095318.17775-14-marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/char/lm32_uart.c')
-rw-r--r--hw/char/lm32_uart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/char/lm32_uart.c b/hw/char/lm32_uart.c
index 72fc41c90f..a8d4a2db70 100644
--- a/hw/char/lm32_uart.c
+++ b/hw/char/lm32_uart.c
@@ -142,7 +142,7 @@ static uint64_t uart_read(void *opaque, hwaddr addr,
r = s->regs[R_RXTX];
s->regs[R_LSR] &= ~LSR_DR;
uart_update_irq(s);
- qemu_chr_accept_input(s->chr.chr);
+ qemu_chr_fe_accept_input(s->chr.chr);
break;
case R_IIR:
case R_LSR: