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 /include/hw/i2c | |
parent | dd37dfa9e73d0b13b98f28302a751d75660050a2 (diff) |
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>
Diffstat (limited to 'include/hw/i2c')
-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 9df987bc62..4986ebc73c 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 */ |