aboutsummaryrefslogtreecommitdiff
path: root/hw/tusb6010.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2009-10-01 16:12:16 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-01 16:12:16 -0500
commitc227f0995e1722a1abccc28cadf0664266bd8043 (patch)
tree39e92c2f818e3e8144978740b914731613af0e40 /hw/tusb6010.c
parent99a0949b720a0936da2052cb9a46db04ffc6db29 (diff)
Revert "Get rid of _t suffix"
In the very least, a change like this requires discussion on the list. The naming convention is goofy and it causes a massive merge problem. Something like this _must_ be presented on the list first so people can provide input and cope with it. This reverts commit 99a0949b720a0936da2052cb9a46db04ffc6db29. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/tusb6010.c')
-rw-r--r--hw/tusb6010.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/hw/tusb6010.c b/hw/tusb6010.c
index e47085d946..3887233339 100644
--- a/hw/tusb6010.c
+++ b/hw/tusb6010.c
@@ -289,7 +289,7 @@ static void tusb_gpio_intr_update(TUSBState *s)
extern CPUReadMemoryFunc * const musb_read[];
extern CPUWriteMemoryFunc * const musb_write[];
-static uint32_t tusb_async_readb(void *opaque, a_target_phys_addr addr)
+static uint32_t tusb_async_readb(void *opaque, target_phys_addr_t addr)
{
TUSBState *s = (TUSBState *) opaque;
@@ -306,7 +306,7 @@ static uint32_t tusb_async_readb(void *opaque, a_target_phys_addr addr)
return 0;
}
-static uint32_t tusb_async_readh(void *opaque, a_target_phys_addr addr)
+static uint32_t tusb_async_readh(void *opaque, target_phys_addr_t addr)
{
TUSBState *s = (TUSBState *) opaque;
@@ -323,7 +323,7 @@ static uint32_t tusb_async_readh(void *opaque, a_target_phys_addr addr)
return 0;
}
-static uint32_t tusb_async_readw(void *opaque, a_target_phys_addr addr)
+static uint32_t tusb_async_readw(void *opaque, target_phys_addr_t addr)
{
TUSBState *s = (TUSBState *) opaque;
int offset = addr & 0xfff;
@@ -447,7 +447,7 @@ static uint32_t tusb_async_readw(void *opaque, a_target_phys_addr addr)
return 0;
}
-static void tusb_async_writeb(void *opaque, a_target_phys_addr addr,
+static void tusb_async_writeb(void *opaque, target_phys_addr_t addr,
uint32_t value)
{
TUSBState *s = (TUSBState *) opaque;
@@ -468,7 +468,7 @@ static void tusb_async_writeb(void *opaque, a_target_phys_addr addr,
}
}
-static void tusb_async_writeh(void *opaque, a_target_phys_addr addr,
+static void tusb_async_writeh(void *opaque, target_phys_addr_t addr,
uint32_t value)
{
TUSBState *s = (TUSBState *) opaque;
@@ -489,7 +489,7 @@ static void tusb_async_writeh(void *opaque, a_target_phys_addr addr,
}
}
-static void tusb_async_writew(void *opaque, a_target_phys_addr addr,
+static void tusb_async_writew(void *opaque, target_phys_addr_t addr,
uint32_t value)
{
TUSBState *s = (TUSBState *) opaque;