summaryrefslogtreecommitdiff
path: root/hw/xilinx_uartlite.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xilinx_uartlite.c')
-rw-r--r--hw/xilinx_uartlite.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/xilinx_uartlite.c b/hw/xilinx_uartlite.c
index adab759fdb..7f2e664b40 100644
--- a/hw/xilinx_uartlite.c
+++ b/hw/xilinx_uartlite.c
@@ -82,7 +82,7 @@ static void uart_update_status(struct xlx_uartlite *s)
s->regs[R_STATUS] = r;
}
-static uint32_t uart_readl (void *opaque, target_phys_addr_t addr)
+static uint32_t uart_readl (void *opaque, a_target_phys_addr addr)
{
struct xlx_uartlite *s = opaque;
uint32_t r = 0;
@@ -107,7 +107,7 @@ static uint32_t uart_readl (void *opaque, target_phys_addr_t addr)
}
static void
-uart_writel (void *opaque, target_phys_addr_t addr, uint32_t value)
+uart_writel (void *opaque, a_target_phys_addr addr, uint32_t value)
{
struct xlx_uartlite *s = opaque;
unsigned char ch = value;