Signed-off-by: Benoît Canet
---
hw/bonito.c | 43 +--
1 files changed, 21 insertions(+), 22 deletions(-)
diff --git a/hw/bonito.c b/hw/bonito.c
index fdb8198..ad4fc63 100644
--- a/hw/bonito.c
+++ b/hw/bonito.c
@@ -201,9 +201,7 @@ typedef struct PCIBonito
On 11/24/2011 03:43 PM, Peter Maydell wrote:
> 2011/11/24 Benoît Canet :
> > @@ -690,17 +688,16 @@ static int bonito_pcihost_initfn(SysBusDevice *dev)
> > static int bonito_initfn(PCIDevice *dev)
> > {
> > PCIBonitoState *s = DO_UPCAST(PCIBonitoState, dev, dev);
> > +SysBusDevice *sysbus
2011/11/24 Benoît Canet :
> @@ -690,17 +688,16 @@ static int bonito_pcihost_initfn(SysBusDevice *dev)
> static int bonito_initfn(PCIDevice *dev)
> {
> PCIBonitoState *s = DO_UPCAST(PCIBonitoState, dev, dev);
> + SysBusDevice *sysbus = &s->pcihost->busdev;
>
> /* Bonito North Bridge, bu