aboutsummaryrefslogtreecommitdiff
path: root/hw/ssi/npcm7xx_fiu.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/ssi/npcm7xx_fiu.c')
-rw-r--r--hw/ssi/npcm7xx_fiu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ssi/npcm7xx_fiu.c b/hw/ssi/npcm7xx_fiu.c
index 5040132b07..4eedb2927e 100644
--- a/hw/ssi/npcm7xx_fiu.c
+++ b/hw/ssi/npcm7xx_fiu.c
@@ -498,7 +498,7 @@ static void npcm7xx_fiu_hold_reset(Object *obj)
static void npcm7xx_fiu_realize(DeviceState *dev, Error **errp)
{
NPCM7xxFIUState *s = NPCM7XX_FIU(dev);
- SysBusDevice *sbd = &s->parent;
+ SysBusDevice *sbd = SYS_BUS_DEVICE(dev);
int i;
if (s->cs_count <= 0) {