From da51f13eaf8a5a1c79ca129b11f474f2949322dd Mon Sep 17 00:00:00 2001 From: Matt Borgerson Date: Tue, 25 Aug 2020 14:38:41 -0700 Subject: [PATCH] xbox: Fixup pcspk_init with new prototype See the following commits for more info: - audio: rework pcspk_init() - isa: Convert uses of isa_create() with Coccinelle - audio: create pcspk device early --- hw/xbox/xbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/xbox/xbox.c b/hw/xbox/xbox.c index 9ec7f18074..0933dcf8a0 100644 --- a/hw/xbox/xbox.c +++ b/hw/xbox/xbox.c @@ -374,7 +374,7 @@ void xbox_init_common(MachineState *machine, i8257_dma_init(isa_bus, 0); - pcspk_init(isa_bus, pit); + pcspk_init(pcms->pcspk, isa_bus, pit); PCIDevice *dev = pci_create_simple(pci_bus, PCI_DEVFN(9, 0), "piix3-ide"); pci_ide_create_devs(dev);