summaryrefslogtreecommitdiffstats
path: root/hw/i2c/bitbang_i2c.h
diff options
context:
space:
mode:
authorAndreas Färber2013-08-03 00:18:51 +0200
committerAndreas Färber2014-02-14 16:22:31 +0100
commita5c828525e82dbf9f78dcc15070dd49025471afe (patch)
treefd6e0ad32b08aa2418374d59e8607e3923266343 /hw/i2c/bitbang_i2c.h
parentnand: Don't use qdev_create() in nand_init() (diff)
downloadqemu-a5c828525e82dbf9f78dcc15070dd49025471afe.tar.gz
qemu-a5c828525e82dbf9f78dcc15070dd49025471afe.tar.xz
qemu-a5c828525e82dbf9f78dcc15070dd49025471afe.zip
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/bitbang_i2c.h')
-rw-r--r--hw/i2c/bitbang_i2c.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i2c/bitbang_i2c.h b/hw/i2c/bitbang_i2c.h
index 2866ac351b..3a7126d5de 100644
--- a/hw/i2c/bitbang_i2c.h
+++ b/hw/i2c/bitbang_i2c.h
@@ -8,7 +8,7 @@ typedef struct bitbang_i2c_interface bitbang_i2c_interface;
#define BITBANG_I2C_SDA 0
#define BITBANG_I2C_SCL 1
-bitbang_i2c_interface *bitbang_i2c_init(i2c_bus *bus);
+bitbang_i2c_interface *bitbang_i2c_init(I2CBus *bus);
int bitbang_i2c_set(bitbang_i2c_interface *i2c, int line, int level);
#endif