cpu/a9mpcore: QOM casting cleanup
authorAndreas Färber <andreas.faerber@web.de>
Sun, 30 Jun 2013 17:07:29 +0000 (19:07 +0200)
committerAndreas Färber <afaerber@suse.de>
Mon, 29 Jul 2013 18:41:54 +0000 (20:41 +0200)
commit5126fec766a3100de896cb92db45d862bd84a969
tree22ca2c7937fa4f37e8bfd6025278620aac071453
parentf6c11d56442fafa5357ef1f1659b9e39e7bf578d
cpu/a9mpcore: QOM casting cleanup

Introduce type constant and cast macro and enforce its use by
renaming A9MPPrivState::busdev field to parent_obj.

Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Andreas Färber <andreas.faerber@web.de>
hw/cpu/a9mpcore.c