pl110: QOM'ify pl110, pl110_versatile and pl111
commit5d7a11e438f78a2656000a8d549f0dea412f3dc5
authorAndreas Färber <afaerber@suse.de>
Wed, 24 Jul 2013 23:09:03 +0000 (25 01:09 +0200)
committerAndreas Färber <afaerber@suse.de>
Mon, 29 Jul 2013 19:06:05 +0000 (29 21:06 +0200)
tree181041701d460594360db58aace5d4c98b044a12
parent513960eaae0f33616e2f59d3b887b4d810763866
pl110: QOM'ify pl110, pl110_versatile and pl111

Let pl110_versatile and pl111 inherit from pl110 and use PL110() cast;
set their version index in an instance_init.

Reviewed-by: Hu Tao <hutao@cn.fujitsu.com>
[AF: Set version PL110 explicitly, suggested by Hu Tao; fixed inheritence]
Signed-off-by: Andreas Färber <afaerber@suse.de>
hw/display/pl110.c