diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2010-12-02 14:16:40 -0600 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-12-02 14:16:40 -0600 |
commit | 19c71ff41c029517c11ae67d6fbcb093a5d1150f (patch) | |
tree | c33443ac97aeb57341c2f24626cbc6d809fcdaca /hw/ide/via.c | |
parent | 393f398b69f9baadc3f29d822a0b5b74ca63b919 (diff) | |
parent | 0c600ce2a7a419c7247b2ac63327dea5daa3d5a2 (diff) |
Merge remote branch 'mst/for_anthony' into staging
Diffstat (limited to 'hw/ide/via.c')
-rw-r--r-- | hw/ide/via.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ide/via.c b/hw/ide/via.c index 3e41d005b1..66be0c4cce 100644 --- a/hw/ide/via.c +++ b/hw/ide/via.c @@ -149,7 +149,7 @@ static int vt82c686b_ide_initfn(PCIDevice *dev) pci_set_long(pci_conf + PCI_CAPABILITY_LIST, 0x000000c0); qemu_register_reset(via_reset, d); - pci_register_bar((PCIDevice *)d, 4, 0x10, + pci_register_bar(&d->dev, 4, 0x10, PCI_BASE_ADDRESS_SPACE_IO, bmdma_map); vmstate_register(&dev->qdev, 0, &vmstate_ide_pci, d); |