aboutsummaryrefslogtreecommitdiff
path: root/hw/arm/tosa.c
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-08-03 00:18:51 +0200
committerAndreas Färber <afaerber@suse.de>2014-02-14 16:22:31 +0100
commita5c828525e82dbf9f78dcc15070dd49025471afe (patch)
treefd6e0ad32b08aa2418374d59e8607e3923266343 /hw/arm/tosa.c
parent6749695eaaf346c1667067e17ecc9d7d64b7f61c (diff)
downloadqemu-a5c828525e82dbf9f78dcc15070dd49025471afe.zip
qemu-a5c828525e82dbf9f78dcc15070dd49025471afe.tar.gz
qemu-a5c828525e82dbf9f78dcc15070dd49025471afe.tar.bz2
i2c: Rename i2c_bus to I2CBus
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'hw/arm/tosa.c')
-rw-r--r--hw/arm/tosa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/arm/tosa.c b/hw/arm/tosa.c
index c00d8c2..dd224d3 100644
--- a/hw/arm/tosa.c
+++ b/hw/arm/tosa.c
@@ -194,7 +194,7 @@ static int tosa_dac_init(I2CSlave *i2c)
static void tosa_tg_init(PXA2xxState *cpu)
{
- i2c_bus *bus = pxa2xx_i2c_bus(cpu->i2c[0]);
+ I2CBus *bus = pxa2xx_i2c_bus(cpu->i2c[0]);
i2c_create_slave(bus, "tosa_dac", DAC_BASE);
ssi_create_slave(cpu->ssp[1], "tosa-ssp");
}