aboutsummaryrefslogtreecommitdiff
path: root/hw/imx_ccm.c
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2012-12-15 09:08:08 +0200
committerFathi Boudra <fathi.boudra@linaro.org>2012-12-25 16:58:57 +0200
commitedde41b3c75bce779549bd2e1dba18eb7beb8267 (patch)
tree62ac7686da47a3ea220ec820679305f47dd1012b /hw/imx_ccm.c
parentf77d2c3c841d1990d10ab147b770bf5673dbfacc (diff)
parent17d4e9b1e2d6d32da51278a4165621af99bade02 (diff)
Imported Debian patch 1.3.0-2012.12-0ubuntu1~linaro1debian/1.3.0-2012.12-0ubuntu1_linaro1
Diffstat (limited to 'hw/imx_ccm.c')
-rw-r--r--hw/imx_ccm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/imx_ccm.c b/hw/imx_ccm.c
index 10952c6..f2e623c 100644
--- a/hw/imx_ccm.c
+++ b/hw/imx_ccm.c
@@ -191,7 +191,7 @@ static void imx_ccm_reset(DeviceState *dev)
update_clocks(s);
}
-static uint64_t imx_ccm_read(void *opaque, target_phys_addr_t offset,
+static uint64_t imx_ccm_read(void *opaque, hwaddr offset,
unsigned size)
{
IMXCCMState *s = (IMXCCMState *)opaque;
@@ -232,7 +232,7 @@ static uint64_t imx_ccm_read(void *opaque, target_phys_addr_t offset,
return 0;
}
-static void imx_ccm_write(void *opaque, target_phys_addr_t offset,
+static void imx_ccm_write(void *opaque, hwaddr offset,
uint64_t value, unsigned size)
{
IMXCCMState *s = (IMXCCMState *)opaque;