aboutsummaryrefslogtreecommitdiff
path: root/hw/xilinx_uartlite.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/xilinx_uartlite.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/xilinx_uartlite.c')
-rw-r--r--hw/xilinx_uartlite.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/xilinx_uartlite.c b/hw/xilinx_uartlite.c
index 7f2e664b40..adab759fdb 100644
--- a/hw/xilinx_uartlite.c
+++ b/hw/xilinx_uartlite.c
@@ -82,7 +82,7 @@ static void uart_update_status(struct xlx_uartlite *s)
s->regs[R_STATUS] = r;
}
-static uint32_t uart_readl (void *opaque, a_target_phys_addr addr)
+static uint32_t uart_readl (void *opaque, target_phys_addr_t addr)
{
struct xlx_uartlite *s = opaque;
uint32_t r = 0;
@@ -107,7 +107,7 @@ static uint32_t uart_readl (void *opaque, a_target_phys_addr addr)
}
static void
-uart_writel (void *opaque, a_target_phys_addr addr, uint32_t value)
+uart_writel (void *opaque, target_phys_addr_t addr, uint32_t value)
{
struct xlx_uartlite *s = opaque;
unsigned char ch = value;