diff options
author | Andreas Färber <afaerber@suse.de> | 2013-12-19 22:42:26 +0100 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2014-02-14 16:22:32 +0100 |
commit | 9fe451a08e7f232448676a3a7cea002642720a1f (patch) | |
tree | 48159a2bab9a8d037dcdf35145bb65aea5f6ec15 | |
parent | dd37dfa9e73d0b13b98f28302a751d75660050a2 (diff) | |
download | qemu-9fe451a08e7f232448676a3a7cea002642720a1f.zip qemu-9fe451a08e7f232448676a3a7cea002642720a1f.tar.gz qemu-9fe451a08e7f232448676a3a7cea002642720a1f.tar.bz2 |
i2c: Drop FROM_I2C_SLAVE() macro
We now use type-specific QOM cast macros instead.
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
-rw-r--r-- | include/hw/i2c/i2c.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/hw/i2c/i2c.h b/include/hw/i2c/i2c.h index 9df987b..4986ebc 100644 --- a/include/hw/i2c/i2c.h +++ b/include/hw/i2c/i2c.h @@ -59,8 +59,6 @@ void i2c_nack(I2CBus *bus); int i2c_send(I2CBus *bus, uint8_t data); int i2c_recv(I2CBus *bus); -#define FROM_I2C_SLAVE(type, dev) DO_UPCAST(type, i2c, dev) - DeviceState *i2c_create_slave(I2CBus *bus, const char *name, uint8_t addr); /* wm8750.c */ |