summaryrefslogtreecommitdiff
path: root/hw/milkymist-ac97.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/milkymist-ac97.c')
-rw-r--r--hw/milkymist-ac97.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/milkymist-ac97.c b/hw/milkymist-ac97.c
index 4414f39734..d87656c9ac 100644
--- a/hw/milkymist-ac97.c
+++ b/hw/milkymist-ac97.c
@@ -83,7 +83,7 @@ static void update_voices(MilkymistAC97State *s)
}
}
-static uint64_t ac97_read(void *opaque, target_phys_addr_t addr,
+static uint64_t ac97_read(void *opaque, hwaddr addr,
unsigned size)
{
MilkymistAC97State *s = opaque;
@@ -115,7 +115,7 @@ static uint64_t ac97_read(void *opaque, target_phys_addr_t addr,
return r;
}
-static void ac97_write(void *opaque, target_phys_addr_t addr, uint64_t value,
+static void ac97_write(void *opaque, hwaddr addr, uint64_t value,
unsigned size)
{
MilkymistAC97State *s = opaque;