make adb_pci.c buildable
PATCH 1/1 make adb_pci.c buildable
Hi!
pci_bridge_init() has 5 arguments, and pci_adb_init() is only providing 4, name is missing - patch attached
Let's make it at least buildable.
Signature · 2 lines
Kind Regards, Igor V. Kovalenko
Index: hw/apb_pci.c
===================================================================
RCS file: /cvsroot/qemu/qemu/hw/apb_pci.c,v
retrieving revision 1.3
apb_pci.c +2 -2
@@ -251,8 +251,8 @@ d->config[0x0E ] =0x00 ;// header_type /* APB secondary busses */ - secondary =pci_bridge_init (s->bus,8 ,0x108e5000 , pci_apb_map_irq); -pci_bridge_init (s->bus,9 ,0x108e5000 , pci_apb_map_irq); + secondary =pci_bridge_init (s->bus,8 ,0x108e5000 , pci_apb_map_irq,"Advanced PCI Bus secondary bridge 1" ); +pci_bridge_init (s->bus,9 ,0x108e5000 , pci_apb_map_irq,"Advanced PCI Bus secondary bridge 2" );return secondary; }