summaryrefslogtreecommitdiff
path: root/src/radeon_probe.c
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2007-10-04 11:06:08 +0200
committerMichel Dänzer <michel@tungstengraphics.com>2007-10-04 11:06:08 +0200
commit7addf41885ec5658f531624a9c24ea5bd7d22d19 (patch)
tree95ff6115a01cb146f5232680f9a0a48872f78763 /src/radeon_probe.c
parent3a958ba136c3fae5a4ddd56373ac7cd47046f10e (diff)
parent78c6bd305f2ea70629d1dda3c0c48c067451f5fb (diff)
Merge remote branch 'origin/pci-rework'
Diffstat (limited to 'src/radeon_probe.c')
-rw-r--r--src/radeon_probe.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/radeon_probe.c b/src/radeon_probe.c
index 207e5372..5c7d16ff 100644
--- a/src/radeon_probe.c
+++ b/src/radeon_probe.c
@@ -237,7 +237,9 @@ RADEONProbe(DriverPtr drv, int flags)
Bool foundScreen = FALSE;
int i;
+#ifndef XSERVER_LIBPCIACCESS
if (!xf86GetPciVideoInfo()) return FALSE;
+#endif
/* Collect unclaimed device sections for both driver names */
nATIGDev = xf86MatchDevice(ATI_NAME, &ATIGDevs);