summaryrefslogtreecommitdiff
path: root/hw/usb-musb.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/usb-musb.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/usb-musb.c')
-rw-r--r--hw/usb-musb.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/hw/usb-musb.c b/hw/usb-musb.c
index 12544764e8..9eb0d6361f 100644
--- a/hw/usb-musb.c
+++ b/hw/usb-musb.c
@@ -1142,7 +1142,7 @@ static void musb_ep_writeh(void *opaque, int ep, int addr, uint16_t value)
}
/* Generic control */
-static uint32_t musb_readb(void *opaque, a_target_phys_addr addr)
+static uint32_t musb_readb(void *opaque, target_phys_addr_t addr)
{
MUSBState *s = (MUSBState *) opaque;
int ep, i;
@@ -1200,7 +1200,7 @@ static uint32_t musb_readb(void *opaque, a_target_phys_addr addr)
};
}
-static void musb_writeb(void *opaque, a_target_phys_addr addr, uint32_t value)
+static void musb_writeb(void *opaque, target_phys_addr_t addr, uint32_t value)
{
MUSBState *s = (MUSBState *) opaque;
int ep;
@@ -1281,7 +1281,7 @@ static void musb_writeb(void *opaque, a_target_phys_addr addr, uint32_t value)
};
}
-static uint32_t musb_readh(void *opaque, a_target_phys_addr addr)
+static uint32_t musb_readh(void *opaque, target_phys_addr_t addr)
{
MUSBState *s = (MUSBState *) opaque;
int ep, i;
@@ -1331,7 +1331,7 @@ static uint32_t musb_readh(void *opaque, a_target_phys_addr addr)
};
}
-static void musb_writeh(void *opaque, a_target_phys_addr addr, uint32_t value)
+static void musb_writeh(void *opaque, target_phys_addr_t addr, uint32_t value)
{
MUSBState *s = (MUSBState *) opaque;
int ep;
@@ -1381,7 +1381,7 @@ static void musb_writeh(void *opaque, a_target_phys_addr addr, uint32_t value)
};
}
-static uint32_t musb_readw(void *opaque, a_target_phys_addr addr)
+static uint32_t musb_readw(void *opaque, target_phys_addr_t addr)
{
MUSBState *s = (MUSBState *) opaque;
MUSBEndPoint *ep;
@@ -1410,7 +1410,7 @@ static uint32_t musb_readw(void *opaque, a_target_phys_addr addr)
};
}
-static void musb_writew(void *opaque, a_target_phys_addr addr, uint32_t value)
+static void musb_writew(void *opaque, target_phys_addr_t addr, uint32_t value)
{
MUSBState *s = (MUSBState *) opaque;
MUSBEndPoint *ep;