summaryrefslogtreecommitdiff
path: root/src/radeon_probe.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2008-02-16 09:13:43 +1000
committerDave Airlie <airlied@linux.ie>2008-02-16 09:13:43 +1000
commitd055b9e800ae50d08cca9db75fc666ce1da9ab52 (patch)
tree021d49446aaf587713d2812e59274e80434f5c9c /src/radeon_probe.c
parentc773bc6a314327da29e21e4ebac6fa7f3e98a0a7 (diff)
r128/radeon: hopeful fix for non pci access code
Diffstat (limited to 'src/radeon_probe.c')
-rw-r--r--src/radeon_probe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_probe.c b/src/radeon_probe.c
index 936d43f0..fc621c72 100644
--- a/src/radeon_probe.c
+++ b/src/radeon_probe.c
@@ -180,7 +180,7 @@ RADEONProbe(DriverPtr drv, int flags)
foundScreen = TRUE;
} else {
for (i = 0; i < numUsed; i++) {
- if (radeon_get_scrninfo(entity_num))
+ if (radeon_get_scrninfo(i))
foundScreen = TRUE;
}
}