aboutsummaryrefslogtreecommitdiff
path: root/hw/milkymist-uart.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2011-08-15 11:17:28 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2011-08-22 10:17:15 -0500
commit2cc6e0a14210d2e80173ec6b4611e7e3c50c2cce (patch)
treeb9a5883e50ebcee0f3f506de1523b84a597f6e8f /hw/milkymist-uart.c
parent0bf1dbdcc935dfc220a93cd990e947e90706aec6 (diff)
downloadqemu-2cc6e0a14210d2e80173ec6b4611e7e3c50c2cce.zip
qemu-2cc6e0a14210d2e80173ec6b4611e7e3c50c2cce.tar.gz
qemu-2cc6e0a14210d2e80173ec6b4611e7e3c50c2cce.tar.bz2
char: rename qemu_chr_write() -> qemu_chr_fe_write()
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/milkymist-uart.c')
-rw-r--r--hw/milkymist-uart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/milkymist-uart.c b/hw/milkymist-uart.c
index 56c90da..e8e309d 100644
--- a/hw/milkymist-uart.c
+++ b/hw/milkymist-uart.c
@@ -77,7 +77,7 @@ static void uart_write(void *opaque, target_phys_addr_t addr, uint32_t value)
switch (addr) {
case R_RXTX:
if (s->chr) {
- qemu_chr_write(s->chr, &ch, 1);
+ qemu_chr_fe_write(s->chr, &ch, 1);
}
trace_milkymist_uart_pulse_irq_tx();
qemu_irq_pulse(s->tx_irq);