Revision 72cf2d4f hw/i2c.c
b/hw/i2c.c | ||
---|---|---|
76 | 76 |
DeviceState *qdev; |
77 | 77 |
i2c_slave *slave = NULL; |
78 | 78 |
|
79 |
LIST_FOREACH(qdev, &bus->qbus.children, sibling) { |
|
79 |
QLIST_FOREACH(qdev, &bus->qbus.children, sibling) {
|
|
80 | 80 |
slave = I2C_SLAVE_FROM_QDEV(qdev); |
81 | 81 |
if (slave->address == address) |
82 | 82 |
break; |
Also available in: Unified diff