aboutsummaryrefslogtreecommitdiff
path: root/hw/omap_spi.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/omap_spi.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/omap_spi.c')
-rw-r--r--hw/omap_spi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/omap_spi.c b/hw/omap_spi.c
index df25002..08d2462 100644
--- a/hw/omap_spi.c
+++ b/hw/omap_spi.c
@@ -276,7 +276,7 @@ static void omap_mcspi_bus_reset(OMAPSPIBusState *s)
omap_mcspi_interrupt_update(s);
}
-static uint64_t omap_mcspi_read(void *opaque, target_phys_addr_t addr,
+static uint64_t omap_mcspi_read(void *opaque, hwaddr addr,
unsigned size)
{
OMAPSPIBusState *s = (OMAPSPIBusState *) opaque;
@@ -406,7 +406,7 @@ static uint64_t omap_mcspi_read(void *opaque, target_phys_addr_t addr,
return 0;
}
-static void omap_mcspi_write(void *opaque, target_phys_addr_t addr,
+static void omap_mcspi_write(void *opaque, hwaddr addr,
uint64_t value, unsigned size)
{
OMAPSPIBusState *s = (OMAPSPIBusState *) opaque;