]> git.proxmox.com Git - mirror_qemu.git/commit - hw/arm/pxa2xx.c
pxa2xx: QOM'ify I2C slave
authorAndreas Färber <afaerber@suse.de>
Thu, 19 Dec 2013 20:44:53 +0000 (21:44 +0100)
committerAndreas Färber <afaerber@suse.de>
Fri, 14 Feb 2014 15:22:31 +0000 (16:22 +0100)
commit96dca6b9a964b96c3ce72449333ff3bdd4ce85f7
treec8207b41999211241e0d258cbc99eab507ec763f
parenta5c828525e82dbf9f78dcc15070dd49025471afe
pxa2xx: QOM'ify I2C slave

Replace usages of FROM_I2C_SLAVE() and direct parent field accesses with
QOM cast macro. Rename parent field to assure we caught all. Reuse type
constant in pxa2xx_i2c_init().

Add some missing braces while at it.

Signed-off-by: Andreas Färber <afaerber@suse.de>
hw/arm/pxa2xx.c