[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 08/22] hw/audio/gus: Disuse isa_init_irq()
From: |
Bernhard Beschow |
Subject: |
[PATCH v2 08/22] hw/audio/gus: Disuse isa_init_irq() |
Date: |
Tue, 22 Feb 2022 20:34:32 +0100 |
isa_init_irq() has become a trivial one-line wrapper for isa_get_irq().
Use the original instead such that isa_init_irq() can be removed
eventually.
Signed-off-by: Bernhard Beschow <shentey@gmail.com>
---
hw/audio/gus.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/audio/gus.c b/hw/audio/gus.c
index e8719ee117..42f010b671 100644
--- a/hw/audio/gus.c
+++ b/hw/audio/gus.c
@@ -282,7 +282,7 @@ static void gus_realizefn (DeviceState *dev, Error **errp)
s->emu.himemaddr = s->himem;
s->emu.gusdatapos = s->emu.himemaddr + 1024 * 1024 + 32;
s->emu.opaque = s;
- isa_init_irq (d, &s->pic, s->emu.gusirq);
+ s->pic = isa_get_irq(d, s->emu.gusirq);
AUD_set_active_out (s->voice, 1);
}
--
2.35.1
- [PATCH v2 15/22] hw/ipmi/isa_ipmi_bt: Disuse isa_init_irq(), (continued)
- [PATCH v2 15/22] hw/ipmi/isa_ipmi_bt: Disuse isa_init_irq(), Bernhard Beschow, 2022/02/22
- [PATCH v2 21/22] hw/isa/isa-bus: Disuse isa_init_irq(), Bernhard Beschow, 2022/02/22
- [PATCH v2 20/22] hw/tpm/tpm_tis_isa: Disuse isa_init_irq(), Bernhard Beschow, 2022/02/22
- [PATCH v2 07/22] hw/audio/cs4231a: Disuse isa_init_irq(), Bernhard Beschow, 2022/02/22
- [PATCH v2 19/22] hw/rtc/m48t59-isa: Disuse isa_init_irq(), Bernhard Beschow, 2022/02/22
- [PATCH v2 17/22] hw/isa/piix4: Disuse isa_init_irq(), Bernhard Beschow, 2022/02/22
- [PATCH v2 06/22] isa: Drop unused attributes from ISADevice, Bernhard Beschow, 2022/02/22
- [PATCH v2 08/22] hw/audio/gus: Disuse isa_init_irq(),
Bernhard Beschow <=
- [PATCH v2 14/22] hw/input/pckbd: Disuse isa_init_irq(), Bernhard Beschow, 2022/02/22
- [PATCH v2 22/22] isa: Remove unused isa_init_irq(), Bernhard Beschow, 2022/02/22
- Re: [PATCH v2 00/22] isa: Resolve unneeded IRQ attributes from ISADevice, Philippe Mathieu-Daudé, 2022/02/27