aboutsummaryrefslogtreecommitdiff
path: root/hw/lpc_ich9.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2012-12-11 09:42:18 +0100
committerGerd Hoffmann <kraxel@redhat.com>2013-01-04 08:51:56 +0100
commit503b19fc5d018f4edc60fb771cf97f47cea71be2 (patch)
tree406b166d87d54d3c18c50aa12d286445bd5d2184 /hw/lpc_ich9.c
parent56e5b2a1a655b9158c0d274a6f630927c9a5fb4b (diff)
apci: assign memory regions to ich9 lpc device
Get rid of get_system_io() usage. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/lpc_ich9.c')
-rw-r--r--hw/lpc_ich9.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/lpc_ich9.c b/hw/lpc_ich9.c
index a068715c04..16843d76bc 100644
--- a/hw/lpc_ich9.c
+++ b/hw/lpc_ich9.c
@@ -336,7 +336,7 @@ void ich9_lpc_pm_init(PCIDevice *lpc_pci, qemu_irq cmos_s3)
qemu_irq *sci_irq;
sci_irq = qemu_allocate_irqs(ich9_set_sci, lpc, 1);
- ich9_pm_init(&lpc->pm, sci_irq[0], cmos_s3);
+ ich9_pm_init(lpc_pci, &lpc->pm, sci_irq[0], cmos_s3);
ich9_lpc_reset(&lpc->d.qdev);
}