]> Git Repo - qemu.git/blobdiff - hw/exynos4210_i2c.c
hw: move display devices to hw/display/, configure via default-configs/
[qemu.git] / hw / exynos4210_i2c.c
index 3f72a5c464d46b15dbd3205af9a3e26e6b480b04..196f88907dafba878cb4db0ae9a74e6bb466e522 100644 (file)
@@ -20,9 +20,9 @@
  *
  */
 
-#include "qemu-timer.h"
-#include "sysbus.h"
-#include "i2c.h"
+#include "qemu/timer.h"
+#include "hw/sysbus.h"
+#include "hw/i2c/i2c.h"
 
 #ifndef EXYNOS4_I2C_DEBUG
 #define EXYNOS4_I2C_DEBUG                 0
@@ -129,7 +129,7 @@ static void exynos4210_i2c_data_send(void *opaque)
     exynos4210_i2c_raise_interrupt(s);
 }
 
-static uint64_t exynos4210_i2c_read(void *opaque, target_phys_addr_t offset,
+static uint64_t exynos4210_i2c_read(void *opaque, hwaddr offset,
                                  unsigned size)
 {
     Exynos4210I2CState *s = (Exynos4210I2CState *)opaque;
@@ -168,7 +168,7 @@ static uint64_t exynos4210_i2c_read(void *opaque, target_phys_addr_t offset,
     return value;
 }
 
-static void exynos4210_i2c_write(void *opaque, target_phys_addr_t offset,
+static void exynos4210_i2c_write(void *opaque, hwaddr offset,
                               uint64_t value, unsigned size)
 {
     Exynos4210I2CState *s = (Exynos4210I2CState *)opaque;
This page took 0.02862 seconds and 4 git commands to generate.