projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd37dfa
)
i2c: Drop FROM_I2C_SLAVE() macro
author
Andreas Färber
<afaerber@suse.de>
Thu, 19 Dec 2013 21:42:26 +0000
(22:42 +0100)
committer
Andreas Färber
<afaerber@suse.de>
Fri, 14 Feb 2014 15:22:32 +0000
(16:22 +0100)
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>
include/hw/i2c/i2c.h
patch
|
blob
|
history
diff --git
a/include/hw/i2c/i2c.h
b/include/hw/i2c/i2c.h
index 9df987bc623bd2f0177fd6300b619c1e6a58560f..4986ebc73c2d6e457000532695f0d6779504463f 100644
(file)
--- 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 */