summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/amd_gx_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd_gx_driver.c b/src/amd_gx_driver.c
index efa1048..3c66d05 100644
--- a/src/amd_gx_driver.c
+++ b/src/amd_gx_driver.c
@@ -348,7 +348,7 @@ GXMapMem(ScrnInfoPtr pScrni)
GeodeRec *pGeode = GEODEPTR(pScrni);
int index = pScrni->scrnIndex;
- pciVideoRec *pci = xf86GetPciInfoForEntity(pGeode->pEnt->index);
+ pciVideoPtr pci = xf86GetPciInfoForEntity(pGeode->pEnt->index);
#ifndef XSERVER_LIBPCIACCESS
gfx_virt_regptr = (unsigned char *)xf86MapVidMem(index, VIDMEM_MMIO,