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/pm_smbus.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/pm_smbus.c')
-rw-r--r-- | hw/i2c/pm_smbus.c | 2 |
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 */ |