pxa2xx: fix vmstate_pxa2xx_i2c
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Thu, 13 Jan 2011 15:37:12 +0000 (18:37 +0300)
committerAurelien Jarno <aurelien@aurel32.net>
Thu, 20 Jan 2011 11:37:21 +0000 (12:37 +0100)
commite4b1bf3f2b4aec6416afb66ebd291762a133e5b8
tree9bbdd00acd3009f1fa55ceec1a38160d27a3f374
parent8a217d30abd456df373049fce47c570db780c96d
pxa2xx: fix vmstate_pxa2xx_i2c

vmstate_pxa2xx_i2c incorrectly recursed to itself instead of going
to store slave device. Fix that stop stop qemu from segfaulting
during savevm for pxa2xx-based devices.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
hw/pxa2xx.c