Re: [Qemu-devel] [PATCH 02/11] pxa2xx: QOM'ify I2C slave

2014-02-09 Thread Andreas Färber
Am 31.01.2014 15:34, schrieb Andreas Färber: > Replace usages of FROM_I2C_SLAVE() with QOM cast macro and rename parent > field to assure we caught all. > > Signed-off-by: Andreas Färber > --- > hw/arm/pxa2xx.c | 38 +- > 1 file changed, 25 insertions(+), 13 d

Re: [Qemu-devel] [PATCH 02/11] pxa2xx: QOM'ify I2C slave

2014-02-09 Thread Peter Maydell
On 9 February 2014 12:24, Andreas Färber wrote: > Am 09.02.2014 02:35, schrieb Peter Crosthwaite: >> On Sat, Feb 1, 2014 at 12:34 AM, Andreas Färber wrote: >>> @@ -1292,10 +1298,12 @@ static void pxa2xx_i2c_event(I2CSlave *i2c, enum >>> i2c_event event) >>> >>> static int pxa2xx_i2c_rx(I2CSlave

Re: [Qemu-devel] [PATCH 02/11] pxa2xx: QOM'ify I2C slave

2014-02-09 Thread Andreas Färber
Am 09.02.2014 02:35, schrieb Peter Crosthwaite: > On Sat, Feb 1, 2014 at 12:34 AM, Andreas Färber wrote: >> Replace usages of FROM_I2C_SLAVE() with QOM cast macro and rename parent >> field to assure we caught all. >> >> Signed-off-by: Andreas Färber >> --- >> hw/arm/pxa2xx.c | 38 ++

Re: [Qemu-devel] [PATCH 02/11] pxa2xx: QOM'ify I2C slave

2014-02-08 Thread Peter Crosthwaite
On Sat, Feb 1, 2014 at 12:34 AM, Andreas Färber wrote: > Replace usages of FROM_I2C_SLAVE() with QOM cast macro and rename parent > field to assure we caught all. > > Signed-off-by: Andreas Färber > --- > hw/arm/pxa2xx.c | 38 +- > 1 file changed, 25 insertion

[Qemu-devel] [PATCH 02/11] pxa2xx: QOM'ify I2C slave

2014-01-31 Thread Andreas Färber
Replace usages of FROM_I2C_SLAVE() with QOM cast macro and rename parent field to assure we caught all. Signed-off-by: Andreas Färber --- hw/arm/pxa2xx.c | 38 +- 1 file changed, 25 insertions(+), 13 deletions(-) diff --git a/hw/arm/pxa2xx.c b/hw/arm/pxa2xx.c