]> git.proxmox.com Git - mirror_qemu.git/commit - hw/audio/intel-hda.c
audio/intel-hda: Fix Inheritance hierachy
authorPeter Crosthwaite <peter.crosthwaite@xilinx.com>
Thu, 6 Jun 2013 05:34:08 +0000 (15:34 +1000)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 14 Jun 2013 13:59:28 +0000 (08:59 -0500)
commit062db74023043c8fe50869f19c3b9c6bb3e4699c
tree8aac32214547b27aaf01fa005b254342ad95f52f
parent6e5c4540d18d1e9a5253104df161a7e0d408ca95
audio/intel-hda: Fix Inheritance hierachy

The ich6 and ich9 variants either need to inherit one from the other,
or both from a common base class, otherwise its not possible to create
a QOM cast macro for use by the shared implementation functions.
Went for option B, with a common base class.

Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 54453b6aa8afa1a76b2ec1932f1d7fd25205d0bc.1370496582.git.peter.crosthwaite@xilinx.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/audio/intel-hda.c