summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTilman Sauerbeck <tilman@code-monkey.de>2006-06-16 16:37:07 +1000
committerDave Airlie <airlied@linux.ie>2006-06-16 16:37:07 +1000
commit23a21d00db6f3b88b54c44648f968018a03677d3 (patch)
tree50298581b2e841959972ce025aa9d7d8355bee00
parentc6b33db9d2c751e34c2152b0bb7e0e84a812589f (diff)
[PATCH] move the declaration of pMach64 into the correct ifndef statementati-6_6_1
Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de> Signed-off-by: Dave Airlie <airlied@linux.ie>
-rw-r--r--src/atiprobe.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/atiprobe.c b/src/atiprobe.c
index 5ad4cda..df74a42 100644
--- a/src/atiprobe.c
+++ b/src/atiprobe.c
@@ -1008,10 +1008,13 @@ ATIProbe
int Chipset;
ATIChipType Chip;
+#ifndef AVOID_NON_PCI
+ ATIPtr pMach64[3] = {NULL, NULL, NULL};
+#endif
+
#ifndef AVOID_CPIO
ATIPtr pVGA = NULL, p8514 = NULL;
- ATIPtr pMach64[3] = {NULL, NULL, NULL};
pciConfigPtr *xf86PciInfo = xf86GetPciConfigInfo();
PortPtr PCIPorts = NULL;
int nPCIPort = 0;