summaryrefslogtreecommitdiff
path: root/hw/i2c/pm_smbus.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/pm_smbus.c
parent6749695eaaf346c1667067e17ecc9d7d64b7f61c (diff)
downloadqemu-a5c828525e82dbf9f78dcc15070dd49025471afe.tar.gz
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/pm_smbus.c')
-rw-r--r--hw/i2c/pm_smbus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i2c/pm_smbus.c b/hw/i2c/pm_smbus.c
index c98e447533..9f50067735 100644
--- a/hw/i2c/pm_smbus.c
+++ b/hw/i2c/pm_smbus.c
@@ -59,7 +59,7 @@ static void smb_transaction(PMSMBus *s)
uint8_t read = s->smb_addr & 0x01;
uint8_t cmd = s->smb_cmd;
uint8_t addr = s->smb_addr >> 1;
- i2c_bus *bus = s->smbus;
+ I2CBus *bus = s->smbus;
SMBUS_DPRINTF("SMBus trans addr=0x%02x prot=0x%02x\n", addr, prot);
/* Transaction isn't exec if STS_DEV_ERR bit set */