diff options
| author | Martin Kletzander <mkletzan@redhat.com> | 2022-04-25 10:21:47 +0200 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2023-09-22 16:30:07 +0200 |
| commit | 79d3e56c2071d402fd55f135aea872d8fe24d269 (patch) | |
| tree | 5b52a4332cbcef5ef6101969c1c9d3115763b3a3 /hw/audio/lm4549.c | |
| parent | b7639b7dd05de6d4f5ac2a30bb4a7a789286992f (diff) | |
| download | focaccia-qemu-79d3e56c2071d402fd55f135aea872d8fe24d269.tar.gz focaccia-qemu-79d3e56c2071d402fd55f135aea872d8fe24d269.zip | |
hw/audio/lm4549: Add errp error reporting to init function
This will be used in future commit. Signed-off-by: Martin Kletzander <mkletzan@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Message-ID: <be1bf295b3c6a3dee272b4b4e8115e37c2a772b5.1650874791.git.mkletzan@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/audio/lm4549.c')
| -rw-r--r-- | hw/audio/lm4549.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/audio/lm4549.c b/hw/audio/lm4549.c index 32b1481b56..418041bc9c 100644 --- a/hw/audio/lm4549.c +++ b/hw/audio/lm4549.c @@ -276,7 +276,8 @@ static int lm4549_post_load(void *opaque, int version_id) return 0; } -void lm4549_init(lm4549_state *s, lm4549_callback data_req_cb, void* opaque) +void lm4549_init(lm4549_state *s, lm4549_callback data_req_cb, void* opaque, + Error **errp) { struct audsettings as; |