aboutsummaryrefslogtreecommitdiff
path: root/hw/i2c/versatile_i2c.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/i2c/versatile_i2c.c
parent6749695eaaf346c1667067e17ecc9d7d64b7f61c (diff)
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/i2c/versatile_i2c.c')
-rw-r--r--hw/i2c/versatile_i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i2c/versatile_i2c.c b/hw/i2c/versatile_i2c.c
index 02e9f171b9..3c0c2c1067 100644
--- a/hw/i2c/versatile_i2c.c
+++ b/hw/i2c/versatile_i2c.c
@@ -81,7 +81,7 @@ static int versatile_i2c_init(SysBusDevice *sbd)
{
DeviceState *dev = DEVICE(sbd);
VersatileI2CState *s = VERSATILE_I2C(dev);
- i2c_bus *bus;
+ I2CBus *bus;
bus = i2c_init_bus(dev, "i2c");
s->bitbang = bitbang_i2c_init(bus);