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 1da21a643e..3ca25894f1 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);