diff options
| author | Mark Cave-Ayland | 2017-12-21 08:32:57 +0100 |
|---|---|---|
| committer | Mark Cave-Ayland | 2018-01-09 22:31:31 +0100 |
| commit | 588978c0a1e9f5596a12d124b530bdf698ed9104 (patch) | |
| tree | 0f2b85436b9c1967b1538132d027fa67c514c37f /include/hw | |
| parent | apb: APB QOMify tidy-up (diff) | |
| download | qemu-588978c0a1e9f5596a12d124b530bdf698ed9104.tar.gz qemu-588978c0a1e9f5596a12d124b530bdf698ed9104.tar.xz qemu-588978c0a1e9f5596a12d124b530bdf698ed9104.zip | |
apb: return APBState from pci_apb_init() rather than PCIBus
This is a first step towards removing pci_apb_init() completely.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Artyom Tarasenko <atar4qemu@gmail.com>
Diffstat (limited to 'include/hw')
| -rw-r--r-- | include/hw/pci-host/apb.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/hw/pci-host/apb.h b/include/hw/pci-host/apb.h index 35d7d5ad7b..a4ef51adc8 100644 --- a/include/hw/pci-host/apb.h +++ b/include/hw/pci-host/apb.h @@ -89,7 +89,7 @@ typedef struct PBMPCIBridge { #define PBM_PCI_BRIDGE(obj) \ OBJECT_CHECK(PBMPCIBridge, (obj), TYPE_PBM_PCI_BRIDGE) -PCIBus *pci_apb_init(hwaddr special_base, - hwaddr mem_base, - qemu_irq *ivec_irqs, PCIBus **bus2, PCIBus **bus3); +APBState *pci_apb_init(hwaddr special_base, + hwaddr mem_base, + qemu_irq *ivec_irqs, PCIBus **bus2, PCIBus **bus3); #endif |
