[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 17/22] hw/isa/piix4: Disuse isa_init_irq()
From: |
Bernhard Beschow |
Subject: |
[PATCH 17/22] hw/isa/piix4: Disuse isa_init_irq() |
Date: |
Tue, 22 Feb 2022 18:38:14 +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/isa/piix4.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/isa/piix4.c b/hw/isa/piix4.c
index cb291d121c..0fd6756dcf 100644
--- a/hw/isa/piix4.c
+++ b/hw/isa/piix4.c
@@ -197,7 +197,7 @@ static void piix4_realize(PCIDevice *dev, Error **errp)
if (!qdev_realize(DEVICE(&s->rtc), BUS(isa_bus), errp)) {
return;
}
- isa_init_irq(ISA_DEVICE(&s->rtc), &s->rtc.irq, s->rtc.isairq);
+ s->rtc.irq = isa_get_irq(ISA_DEVICE(&s->rtc), s->rtc.isairq);
piix4_dev = dev;
}
--
2.35.1
- [PATCH 07/22] hw/audio/cs4231a: Disuse isa_init_irq(), (continued)
- [PATCH 07/22] hw/audio/cs4231a: Disuse isa_init_irq(), Bernhard Beschow, 2022/02/22
- [PATCH 08/22] hw/audio/gus: Disuse isa_init_irq(), Bernhard Beschow, 2022/02/22
- [PATCH 09/22] hw/audio/sb16: Disuse isa_init_irq(), Bernhard Beschow, 2022/02/22
- [PATCH 05/22] hw/ppc/pnv: Determine ns16550's IRQ number from QOM property, Bernhard Beschow, 2022/02/22
- [PATCH 10/22] hw/block/fdc-isa: Disuse isa_init_irq(), Bernhard Beschow, 2022/02/22
- [PATCH 11/22] hw/char/parallel: Disuse isa_init_irq(), Bernhard Beschow, 2022/02/22
- [PATCH 12/22] hw/char/serial-isa: Disuse isa_init_irq(), Bernhard Beschow, 2022/02/22
- [PATCH 13/22] hw/ide/isa: Disuse isa_init_irq(), Bernhard Beschow, 2022/02/22
- [PATCH 15/22] hw/ipmi/isa_ipmi_bt: Disuse isa_init_irq(), Bernhard Beschow, 2022/02/22
- [PATCH 16/22] hw/ipmi/isa_ipmi_kcs: Disuse isa_init_irq(), Bernhard Beschow, 2022/02/22
- [PATCH 17/22] hw/isa/piix4: Disuse isa_init_irq(),
Bernhard Beschow <=
- [PATCH 14/22] hw/input/pckbd: Disuse isa_init_irq(), Bernhard Beschow, 2022/02/22
- [PATCH 18/22] hw/net/ne2000-isa: Disuse isa_init_irq(), Bernhard Beschow, 2022/02/22
- [PATCH 19/22] hw/rtc/m48t59-isa: Disuse isa_init_irq(), Bernhard Beschow, 2022/02/22
- [PATCH 20/22] hw/tpm/tpm_tis_isa: Disuse isa_init_irq(), Bernhard Beschow, 2022/02/22
- [PATCH 21/22] hw/isa/isa-bus: Disuse isa_init_irq(), Bernhard Beschow, 2022/02/22
- [PATCH 22/22] isa: Remove unused isa_init_irq(), Bernhard Beschow, 2022/02/22