pl061: QOM'ify pl061 and pl061_luminary
authorAndreas Färber <afaerber@suse.de>
Fri, 26 Jul 2013 15:31:46 +0000 (17:31 +0200)
committerAndreas Färber <afaerber@suse.de>
Mon, 29 Jul 2013 19:06:46 +0000 (21:06 +0200)
commit692a76d1c4a32573bf3cc19110c7fa6cc8c93f60
tree65199a03ae4de98477b934c336bf5ed866d41023
parentee663e96e4db735d19dc2672150b6ccc87cc29fe
pl061: QOM'ify pl061 and pl061_luminary

Let pl061_luminary inherit from pl061, with differing instance_init.
Introduce type constant and use QOM casts.

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