pcspk: QOM'ify
commitd367ece5e51d4f48687813eb5fe8d2a0e2e728d2
authorAndreas Färber <afaerber@suse.de>
Sat, 27 Apr 2013 20:18:48 +0000 (27 22:18 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 29 Apr 2013 13:27:48 +0000 (29 08:27 -0500)
tree0381856658d0719eeaca065a4747daf947a4647c
parenta2e0b863ebec1c9ceea9b7aab022a6378ea74136
pcspk: QOM'ify

Introduce type constant and cast macro to obsolete DO_UPCAST().

Prepares for ISA realizefn.

Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Message-id: 1367093935-29091-14-git-send-email-afaerber@suse.de
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/audio/pcspk.c
include/hw/audio/pcspk.h