mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
qdev: kill off DeviceInfo
It is no longer used in the tree since everything is done natively through QEMU Object Model. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
39bffca203
commit
d307af795d
15 changed files with 15 additions and 114 deletions
2
hw/i2c.c
2
hw/i2c.c
|
@ -196,7 +196,7 @@ const VMStateDescription vmstate_i2c_slave = {
|
|||
}
|
||||
};
|
||||
|
||||
static int i2c_slave_qdev_init(DeviceState *dev, DeviceInfo *base)
|
||||
static int i2c_slave_qdev_init(DeviceState *dev)
|
||||
{
|
||||
I2CSlave *s = I2C_SLAVE_FROM_QDEV(dev);
|
||||
I2CSlaveClass *sc = I2C_SLAVE_GET_CLASS(s);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue