summary refs log tree commit diff stats
path: root/hw/cadence_uart.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/cadence_uart.c')
-rw-r--r--hw/cadence_uart.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/cadence_uart.c b/hw/cadence_uart.c
index f8afc4ed26..a7d0504c58 100644
--- a/hw/cadence_uart.c
+++ b/hw/cadence_uart.c
@@ -354,7 +354,7 @@ static void uart_read_rx_fifo(UartState *s, uint32_t *c)
     uart_update_status(s);
 }
 
-static void uart_write(void *opaque, target_phys_addr_t offset,
+static void uart_write(void *opaque, hwaddr offset,
                           uint64_t value, unsigned size)
 {
     UartState *s = (UartState *)opaque;
@@ -397,7 +397,7 @@ static void uart_write(void *opaque, target_phys_addr_t offset,
     }
 }
 
-static uint64_t uart_read(void *opaque, target_phys_addr_t offset,
+static uint64_t uart_read(void *opaque, hwaddr offset,
         unsigned size)
 {
     UartState *s = (UartState *)opaque;