aboutsummaryrefslogtreecommitdiff
path: root/hw/misc/milkymist-pfpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/misc/milkymist-pfpu.c')
-rw-r--r--hw/misc/milkymist-pfpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/milkymist-pfpu.c b/hw/misc/milkymist-pfpu.c
index 1da21a6..3ca2589 100644
--- a/hw/misc/milkymist-pfpu.c
+++ b/hw/misc/milkymist-pfpu.c
@@ -137,7 +137,7 @@ struct MilkymistPFPUState {
};
typedef struct MilkymistPFPUState MilkymistPFPUState;
-static inline hwaddr
+static inline uint32_t
get_dma_address(uint32_t base, uint32_t x, uint32_t y)
{
return base + 8 * (128 * y + x);