musicpal: QOM cast cleanup for musicpal_key_state
authorAndreas Färber <afaerber@suse.de>
Tue, 23 Jul 2013 23:38:59 +0000 (01:38 +0200)
committerAndreas Färber <afaerber@suse.de>
Mon, 29 Jul 2013 19:06:26 +0000 (21:06 +0200)
commit3bdf5327c9b3e449a3ea212d063baa7fac576b1b
tree7edb8ad8dd84e1b85ff896b3c6295be66b544bfd
parent7012d4b46b68dcffde1f12a5dfbce5c4c02dc3ff
musicpal: QOM cast cleanup for musicpal_key_state

Introduce a type constant, use QOM casts, rename the parent field and
prepare for QOM realize.

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