summaryrefslogtreecommitdiff
path: root/src/lx_driver.c
diff options
context:
space:
mode:
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);