etraxfs_ser: QOM cast cleanups
authorAndreas Färber <afaerber@suse.de>
Wed, 24 Jul 2013 19:52:26 +0000 (21:52 +0200)
committerAndreas Färber <afaerber@suse.de>
Mon, 29 Jul 2013 18:45:33 +0000 (20:45 +0200)
commitb85423fe756e52b373c58c328bb59790ca081ec8
tree9e61b30c9e64dc47ebe06ef2e2c7f27a92e10935
parentbcb7575068581a7589234bdd55e8d9a9351611d9
etraxfs_ser: QOM cast cleanups

Rename etrax_serial to ETRAXSerial, introduce type constant and use QOM
casts.

Acked-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
hw/char/etraxfs_ser.c