summaryrefslogtreecommitdiff
path: root/src/radeon_probe.c
diff options
context:
space:
mode:
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 c697f65c..b7c38ad0 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);