summaryrefslogtreecommitdiff
path: root/src/r128_probe.c
diff options
context:
space:
mode:
authorGeorge Sapountzis <gsap7@yahoo.gr>2008-02-18 10:33:59 +0200
committerGeorge Sapountzis <gsap7@yahoo.gr>2008-02-18 10:33:59 +0200
commit66b0b3f43bb714bc007169d5ba6dabe34cfc008b (patch)
tree765aee7d30e2f8bb803834dbf7b93dc88167474f /src/r128_probe.c
parentd055b9e800ae50d08cca9db75fc666ce1da9ab52 (diff)
r128/radeon: probably correct fix for non pci access code
Diffstat (limited to 'src/r128_probe.c')
-rw-r--r--src/r128_probe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/r128_probe.c b/src/r128_probe.c
index 1b07ebd5..b1f427a4 100644
--- a/src/r128_probe.c
+++ b/src/r128_probe.c
@@ -332,7 +332,7 @@ R128Probe(DriverPtr drv, int flags)
if (flags & PROBE_DETECT)
foundScreen = TRUE;
else for (i = 0; i < numUsed; i++) {
- if (r128_get_scrninfo(i))
+ if (r128_get_scrninfo(usedChips[i]))
foundScreen = TRUE;
}