summaryrefslogtreecommitdiff
path: root/hw/sh_intc.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/sh_intc.c')
-rw-r--r--hw/sh_intc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/sh_intc.c b/hw/sh_intc.c
index ccb13c6ba..b6f45f017 100644
--- a/hw/sh_intc.c
+++ b/hw/sh_intc.c
@@ -219,7 +219,7 @@ static void sh_intc_toggle_mask(struct intc_desc *desc, intc_enum id,
#endif
}
-static uint32_t sh_intc_read(void *opaque, a_target_phys_addr offset)
+static uint32_t sh_intc_read(void *opaque, target_phys_addr_t offset)
{
struct intc_desc *desc = opaque;
intc_enum *enum_ids = NULL;
@@ -237,7 +237,7 @@ static uint32_t sh_intc_read(void *opaque, a_target_phys_addr offset)
return *valuep;
}
-static void sh_intc_write(void *opaque, a_target_phys_addr offset,
+static void sh_intc_write(void *opaque, target_phys_addr_t offset,
uint32_t value)
{
struct intc_desc *desc = opaque;