aboutsummaryrefslogtreecommitdiff
path: root/hw/syborg_keyboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/syborg_keyboard.c')
-rw-r--r--hw/syborg_keyboard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/syborg_keyboard.c b/hw/syborg_keyboard.c
index 01f6c7ef27..4a562f85de 100644
--- a/hw/syborg_keyboard.c
+++ b/hw/syborg_keyboard.c
@@ -66,7 +66,7 @@ static void syborg_keyboard_update(SyborgKeyboardState *s)
qemu_set_irq(s->irq, level);
}
-static uint32_t syborg_keyboard_read(void *opaque, a_target_phys_addr offset)
+static uint32_t syborg_keyboard_read(void *opaque, target_phys_addr_t offset)
{
SyborgKeyboardState *s = (SyborgKeyboardState *)opaque;
int c;
@@ -103,7 +103,7 @@ static uint32_t syborg_keyboard_read(void *opaque, a_target_phys_addr offset)
}
}
-static void syborg_keyboard_write(void *opaque, a_target_phys_addr offset,
+static void syborg_keyboard_write(void *opaque, target_phys_addr_t offset,
uint32_t value)
{
SyborgKeyboardState *s = (SyborgKeyboardState *)opaque;