diff options
author | Laszlo Ersek <lersek@redhat.com> | 2013-04-16 02:24:08 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2013-06-02 18:14:02 +0300 |
commit | a88b362c6ffbb7a802bf0ed5ef0e2447164dc989 (patch) | |
tree | ffda042ef533d06f9dd6144212c06a79ea7a6250 /hw/i386/pc_piix.c | |
parent | edf9735e40841298874ee308fdecca2ac2aa5bdf (diff) |
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/i386/pc_piix.c')
-rw-r--r-- | hw/i386/pc_piix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c index 530b6ab513..d547548866 100644 --- a/hw/i386/pc_piix.c +++ b/hw/i386/pc_piix.c @@ -89,7 +89,7 @@ static void pc_init1(MemoryRegion *system_memory, MemoryRegion *pci_memory; MemoryRegion *rom_memory; DeviceState *icc_bridge; - void *fw_cfg = NULL; + FWCfgState *fw_cfg = NULL; icc_bridge = qdev_create(NULL, TYPE_ICC_BRIDGE); object_property_add_child(qdev_get_machine(), "icc-bridge", |