summary refs log tree commit diff stats
path: root/hw/versatile_i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/versatile_i2c.c')
-rw-r--r--hw/versatile_i2c.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/versatile_i2c.c b/hw/versatile_i2c.c
index 88f530aefc..44e7e40f2f 100644
--- a/hw/versatile_i2c.c
+++ b/hw/versatile_i2c.c
@@ -32,7 +32,7 @@ typedef struct {
     int in;
 } VersatileI2CState;
 
-static uint64_t versatile_i2c_read(void *opaque, target_phys_addr_t offset,
+static uint64_t versatile_i2c_read(void *opaque, hwaddr offset,
                                    unsigned size)
 {
     VersatileI2CState *s = (VersatileI2CState *)opaque;
@@ -45,7 +45,7 @@ static uint64_t versatile_i2c_read(void *opaque, target_phys_addr_t offset,
     }
 }
 
-static void versatile_i2c_write(void *opaque, target_phys_addr_t offset,
+static void versatile_i2c_write(void *opaque, hwaddr offset,
                                 uint64_t value, unsigned size)
 {
     VersatileI2CState *s = (VersatileI2CState *)opaque;