From ef1aecaaf6cd7e9e4f9d0c6373664e774500bc13 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Wed, 26 Jul 2006 13:25:13 -0700 Subject: [PATCH] Pass correct pointer to xf86MapLegacyIO. --- hw/xfree86/common/xf86pciBus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/xfree86/common/xf86pciBus.c b/hw/xfree86/common/xf86pciBus.c index b3822caee..e8dba1aa6 100644 --- a/hw/xfree86/common/xf86pciBus.c +++ b/hw/xfree86/common/xf86pciBus.c @@ -834,7 +834,7 @@ xf86ClaimPciSlot(struct pci_device * d, DriverPtr drvp, if (active) { /* Map in this domain's I/O space */ - p->domainIO = xf86MapLegacyIO(dev); + p->domainIO = xf86MapLegacyIO(d); } return num;