hw/audio: generalize audio_model.init()

It is no longer PCI bus only.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
This commit is contained in:
Marc-André Lureau
2025-10-30 13:30:06 +04:00
parent 96da2b29f4
commit b181226e4e
3 changed files with 6 additions and 12 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
#define HW_AUDIO_MODEL_H
void audio_register_model_with_cb(const char *name, const char *descr,
int (*init_pci)(PCIBus *bus, const char *audiodev));
void (*init_audio_model)(const char *audiodev));
void audio_register_model(const char *name, const char *descr,
int isa, const char *typename);