summaryrefslogtreecommitdiff
path: root/hw/audio/intel-hda.h
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-08-23 20:05:16 +0200
committerAndreas Färber <afaerber@suse.de>2013-08-30 20:14:38 +0200
commitab809e84a722f8fa1bcdeac5e3ebae10d90fb788 (patch)
treeb0a31d7870567365e7b4e3835d6a44085fce3bfe /hw/audio/intel-hda.h
parent53caad9a31bed10f59c70406001b9217bda2d111 (diff)
downloadqemu-ab809e84a722f8fa1bcdeac5e3ebae10d90fb788.tar.gz
intel-hda: Pass size to hda_codec_bus_init()
To be passed to qbus_create_inplace(). Reviewed-by: Wenchao Xia <xiawenc@linux.vnet.ibm.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'hw/audio/intel-hda.h')
-rw-r--r--hw/audio/intel-hda.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/audio/intel-hda.h b/hw/audio/intel-hda.h
index 2544f0a344..d784bcf5fc 100644
--- a/hw/audio/intel-hda.h
+++ b/hw/audio/intel-hda.h
@@ -48,7 +48,7 @@ struct HDACodecDevice {
uint32_t cad; /* codec address */
};
-void hda_codec_bus_init(DeviceState *dev, HDACodecBus *bus,
+void hda_codec_bus_init(DeviceState *dev, HDACodecBus *bus, size_t bus_size,
hda_codec_response_func response,
hda_codec_xfer_func xfer);
HDACodecDevice *hda_codec_find(HDACodecBus *bus, uint32_t cad);