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
This commit is contained in:
parent
7487953d70
commit
3476f891cc
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue