Re: [PATCH v2 1/4] hw/i2c: name I2CNode list in I2CBus

2021-04-09 Thread Philippe Mathieu-Daudé
On 4/9/21 6:25 PM, Patrick Venture wrote: > To enable passing the current_devs field as a parameter, we need to use > a named struct type. > > Tested: BMC firmware with i2c devices booted to userspace. > > Signed-off-by: Patrick Venture > Reviewed-by: Hao Wu > --- > include/hw/i2c/i2c.h | 4 ++

[PATCH v2 1/4] hw/i2c: name I2CNode list in I2CBus

2021-04-09 Thread Patrick Venture
To enable passing the current_devs field as a parameter, we need to use a named struct type. Tested: BMC firmware with i2c devices booted to userspace. Signed-off-by: Patrick Venture Reviewed-by: Hao Wu --- include/hw/i2c/i2c.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --g