aboutsummaryrefslogtreecommitdiff
path: root/hw/syborg_rtc.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/syborg_rtc.c')
-rw-r--r--hw/syborg_rtc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/syborg_rtc.c b/hw/syborg_rtc.c
index dc16ac6e3b..b066213533 100644
--- a/hw/syborg_rtc.c
+++ b/hw/syborg_rtc.c
@@ -40,7 +40,7 @@ typedef struct {
qemu_irq irq;
} SyborgRTCState;
-static uint32_t syborg_rtc_read(void *opaque, a_target_phys_addr offset)
+static uint32_t syborg_rtc_read(void *opaque, target_phys_addr_t offset)
{
SyborgRTCState *s = (SyborgRTCState *)opaque;
offset &= 0xfff;
@@ -58,7 +58,7 @@ static uint32_t syborg_rtc_read(void *opaque, a_target_phys_addr offset)
}
}
-static void syborg_rtc_write(void *opaque, a_target_phys_addr offset, uint32_t value)
+static void syborg_rtc_write(void *opaque, target_phys_addr_t offset, uint32_t value)
{
SyborgRTCState *s = (SyborgRTCState *)opaque;
uint64_t now;