summaryrefslogtreecommitdiff
path: root/hw/sparc
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2013-04-16 02:24:08 +0200
committerMichael S. Tsirkin <mst@redhat.com>2013-06-02 18:14:02 +0300
commita88b362c6ffbb7a802bf0ed5ef0e2447164dc989 (patch)
treeffda042ef533d06f9dd6144212c06a79ea7a6250 /hw/sparc
parentedf9735e40841298874ee308fdecca2ac2aa5bdf (diff)
downloadqemu-a88b362c6ffbb7a802bf0ed5ef0e2447164dc989.tar.gz
refer to FWCfgState explicitly
Currently some places use pointer-to-void even though they mean pointer-to-FWCfgState. Clean them up. Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/sparc')
-rw-r--r--hw/sparc/sun4m.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/sparc/sun4m.c b/hw/sparc/sun4m.c
index 6e62d17c9a..0e86ca765d 100644
--- a/hw/sparc/sun4m.c
+++ b/hw/sparc/sun4m.c
@@ -831,7 +831,7 @@ static void sun4m_hw_init(const struct sun4m_hwdef *hwdef, ram_addr_t RAM_size,
qemu_irq *cpu_halt;
unsigned long kernel_size;
DriveInfo *fd[MAX_FD];
- void *fw_cfg;
+ FWCfgState *fw_cfg;
unsigned int num_vsimms;
/* init CPUs */