[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 10/22] hw/block/fdc-isa: Disuse isa_init_irq()
From: |
Bernhard Beschow |
Subject: |
[PATCH 10/22] hw/block/fdc-isa: Disuse isa_init_irq() |
Date: |
Tue, 22 Feb 2022 18:38:07 +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/block/fdc-isa.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/block/fdc-isa.c b/hw/block/fdc-isa.c
index ab663dce93..fa20450747 100644
--- a/hw/block/fdc-isa.c
+++ b/hw/block/fdc-isa.c
@@ -94,7 +94,7 @@ static void isabus_fdc_realize(DeviceState *dev, Error **errp)
isa->iobase, fdc_portio_list, fdctrl,
"fdc");
- isa_init_irq(isadev, &fdctrl->irq, isa->irq);
+ fdctrl->irq = isa_get_irq(isadev, isa->irq);
fdctrl->dma_chann = isa->dma;
if (fdctrl->dma_chann != -1) {
IsaDmaClass *k;
--
2.35.1
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH 10/22] hw/block/fdc-isa: Disuse isa_init_irq(),
Bernhard Beschow <=