diff options
author | Andreas Färber <afaerber@suse.de> | 2013-08-03 00:18:51 +0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2014-02-14 16:22:31 +0100 |
commit | a5c828525e82dbf9f78dcc15070dd49025471afe (patch) | |
tree | fd6e0ad32b08aa2418374d59e8607e3923266343 /hw/i2c/omap_i2c.c | |
parent | 6749695eaaf346c1667067e17ecc9d7d64b7f61c (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/omap_i2c.c')
-rw-r--r-- | hw/i2c/omap_i2c.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/i2c/omap_i2c.c b/hw/i2c/omap_i2c.c index 2d8e2b7839..d63278dbde 100644 --- a/hw/i2c/omap_i2c.c +++ b/hw/i2c/omap_i2c.c @@ -30,7 +30,7 @@ typedef struct OMAPI2CState { MemoryRegion iomem; qemu_irq irq; qemu_irq drq[2]; - i2c_bus *bus; + I2CBus *bus; uint8_t revision; void *iclk; @@ -491,7 +491,7 @@ static void omap_i2c_register_types(void) type_register_static(&omap_i2c_info); } -i2c_bus *omap_i2c_bus(DeviceState *omap_i2c) +I2CBus *omap_i2c_bus(DeviceState *omap_i2c) { OMAPI2CState *s = OMAP_I2C(omap_i2c); return s->bus; |