diff options
author | Zihan Yang <tgnyang@gmail.com> | 2017-04-26 20:53:08 +0800 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2017-05-04 08:29:01 +0200 |
commit | 5eaa8e1e0f09ff08c9c683676eabb82ad1179647 (patch) | |
tree | e386ed21e2e3ed797fb46872b706375783cc3709 /hw/audio/intel-hda.h | |
parent | 8ac55351459055f2faee585d9ba2f84707741815 (diff) | |
download | qemu-5eaa8e1e0f09ff08c9c683676eabb82ad1179647.zip qemu-5eaa8e1e0f09ff08c9c683676eabb82ad1179647.tar.gz qemu-5eaa8e1e0f09ff08c9c683676eabb82ad1179647.tar.bz2 |
hw/audio: convert exit callback in HDACodecDeviceClass to void
The exit callback always return 0, convert it to void
Signed-off-by: Zihan Yang <tgnyang@gmail.com>
Message-id: 1493211188-24086-5-git-send-email-tgnyang@gmail.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/audio/intel-hda.h')
-rw-r--r-- | hw/audio/intel-hda.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/audio/intel-hda.h b/hw/audio/intel-hda.h index d784bcf..53b78da 100644 --- a/hw/audio/intel-hda.h +++ b/hw/audio/intel-hda.h @@ -38,7 +38,7 @@ typedef struct HDACodecDeviceClass DeviceClass parent_class; int (*init)(HDACodecDevice *dev); - int (*exit)(HDACodecDevice *dev); + void (*exit)(HDACodecDevice *dev); void (*command)(HDACodecDevice *dev, uint32_t nid, uint32_t data); void (*stream)(HDACodecDevice *dev, uint32_t stnr, bool running, bool output); } HDACodecDeviceClass; |