summaryrefslogtreecommitdiff
path: root/src/lx_driver.c
diff options
context:
space:
mode:
authorJordan Crouse <jordan@cosmicpenguin.net>2008-11-18 20:07:53 -0700
committerJordan Crouse <jordan@cosmicpenguin.net>2008-11-18 20:07:53 -0700
commitfa38cc225ef39aeb6a2ab1c90a233b285d4c77f8 (patch)
treeeceb9469baa0b024f70779f38803611b0c28857f /src/lx_driver.c
parentc4142d3a05e4b889f7933dcfa8bc9cd744ccfdd6 (diff)
LX: Put back variable needed when PCIACCCESS is defined
Diffstat (limited to 'src/lx_driver.c')
-rw-r--r--src/lx_driver.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lx_driver.c b/src/lx_driver.c
index bbc6992..42742fb 100644
--- a/src/lx_driver.c
+++ b/src/lx_driver.c
@@ -618,6 +618,7 @@ LXUnmapMem(ScrnInfoPtr pScrni)
xf86UnMapVidMem(pScrni->scrnIndex, (pointer) cim_vip_ptr,
LX_VIP_REG_SIZE);
#else
+ GeodeRec *pGeode = GEODEPTR(pScrni);
pciVideoPtr pci = xf86GetPciInfoForEntity(pGeode->pEnt->index);
unmap_pci_mem(pScrni, pci, cim_gp_ptr, LX_GP_REG_SIZE);