aboutsummaryrefslogtreecommitdiff
path: root/hw/ppc4xx_pci.c
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-05 16:05:32 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-05 16:05:32 +0000
commit3476f891ccc3fa128de433845b93e23194444859 (patch)
treeca5db460816692ebcd796bc14fa1bec3ec4cbda7 /hw/ppc4xx_pci.c
parent7487953d704369c7acc7486f09eaf87faa5d3693 (diff)
hw/ppc4xx_pci.c: kill two warnings
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5883 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/ppc4xx_pci.c')
-rw-r--r--hw/ppc4xx_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/ppc4xx_pci.c b/hw/ppc4xx_pci.c
index c76ec198f0..bfd2f3e9b0 100644
--- a/hw/ppc4xx_pci.c
+++ b/hw/ppc4xx_pci.c
@@ -314,7 +314,7 @@ static void ppc4xx_pci_save(QEMUFile *f, void *opaque)
PPC4xxPCIState *controller = opaque;
int i;
- pci_device_save(&controller->pci_dev, f);
+ pci_device_save(controller->pci_dev, f);
for (i = 0; i < PPC4xx_PCI_NR_PMMS; i++) {
qemu_put_be32s(f, &controller->pmm[i].la);
@@ -337,7 +337,7 @@ static int ppc4xx_pci_load(QEMUFile *f, void *opaque, int version_id)
if (version_id != 1)
return -EINVAL;
- pci_device_load(&controller->pci_dev, f);
+ pci_device_load(controller->pci_dev, f);
for (i = 0; i < PPC4xx_PCI_NR_PMMS; i++) {
qemu_get_be32s(f, &controller->pmm[i].la);