summaryrefslogtreecommitdiff
path: root/src/atiprobe.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/atiprobe.c')
-rw-r--r--src/atiprobe.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/atiprobe.c b/src/atiprobe.c
index df74a42..da214d4 100644
--- a/src/atiprobe.c
+++ b/src/atiprobe.c
@@ -997,10 +997,8 @@ ATIProbe
ATIPtr pATI, *ATIPtrs = NULL;
GDevPtr *GDevs, pGDev;
pciVideoPtr pVideo, *xf86PciVideoInfo = xf86GetPciVideoInfo();
- pciConfigPtr pPCI;
ATIGDev *ATIGDevs = NULL, *pATIGDev;
ScrnInfoPtr pScreenInfo;
- CARD32 PciReg;
Bool ProbeSuccess = FALSE;
Bool DoRage128 = FALSE, DoRadeon = FALSE;
int i, j, k;
@@ -1008,6 +1006,11 @@ ATIProbe
int Chipset;
ATIChipType Chip;
+#if !defined(AVOID_NON_PCI) || !defined(AVOID_CPIO)
+ pciConfigPtr pPCI;
+ CARD32 PciReg;
+#endif /* AVOID_NON_PCI || AVOID_CPIO */
+
#ifndef AVOID_NON_PCI
ATIPtr pMach64[3] = {NULL, NULL, NULL};
#endif