[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 12/22] hw/char/serial-isa: Disuse isa_init_irq()
From: |
Bernhard Beschow |
Subject: |
[PATCH v2 12/22] hw/char/serial-isa: Disuse isa_init_irq() |
Date: |
Tue, 22 Feb 2022 20:34:36 +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/char/serial-isa.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/char/serial-isa.c b/hw/char/serial-isa.c
index 1b8b303079..7a7ed239cd 100644
--- a/hw/char/serial-isa.c
+++ b/hw/char/serial-isa.c
@@ -75,7 +75,7 @@ static void serial_isa_realizefn(DeviceState *dev, Error
**errp)
}
index++;
- isa_init_irq(isadev, &s->irq, isa->isairq);
+ s->irq = isa_get_irq(isadev, isa->isairq);
qdev_realize(DEVICE(s), NULL, errp);
qdev_set_legacy_instance_id(dev, isa->iobase, 3);
--
2.35.1
- [PATCH v2 00/22] isa: Resolve unneeded IRQ attributes from ISADevice, Bernhard Beschow, 2022/02/22
- [PATCH v2 01/22] hw/rtc/mc146818rtc: QOM'ify IRQ number, Bernhard Beschow, 2022/02/22
- [PATCH v2 03/22] hw/input/pckbd: QOM'ify IRQ numbers, Bernhard Beschow, 2022/02/22
- [PATCH v2 02/22] hw/rtc/m48t59-isa: QOM'ify IRQ number, Bernhard Beschow, 2022/02/22
- [PATCH v2 04/22] hw/isa/isa-bus: Remove isabus_dev_print(), Bernhard Beschow, 2022/02/22
- [PATCH v2 09/22] hw/audio/sb16: Disuse isa_init_irq(), Bernhard Beschow, 2022/02/22
- [PATCH v2 12/22] hw/char/serial-isa: Disuse isa_init_irq(),
Bernhard Beschow <=
- [PATCH v2 16/22] hw/ipmi/isa_ipmi_kcs: Disuse isa_init_irq(), Bernhard Beschow, 2022/02/22
- [PATCH v2 13/22] hw/ide/isa: Disuse isa_init_irq(), Bernhard Beschow, 2022/02/22
- [PATCH v2 11/22] hw/char/parallel: Disuse isa_init_irq(), Bernhard Beschow, 2022/02/22
- [PATCH v2 18/22] hw/net/ne2000-isa: Disuse isa_init_irq(), Bernhard Beschow, 2022/02/22
- [PATCH v2 05/22] hw/ppc/pnv: Determine ns16550's IRQ number from QOM property, Bernhard Beschow, 2022/02/22
- [PATCH v2 10/22] hw/block/fdc-isa: Disuse isa_init_irq(), Bernhard Beschow, 2022/02/22
- [PATCH v2 15/22] hw/ipmi/isa_ipmi_bt: Disuse isa_init_irq(), Bernhard Beschow, 2022/02/22