summaryrefslogtreecommitdiff
path: root/src/rhd_driver.c
diff options
context:
space:
mode:
authorMatthias Hopf <mhopf@suse.de>2010-04-19 12:37:53 +0200
committerMatthias Hopf <mhopf@suse.de>2010-04-19 12:37:53 +0200
commit4abbce4498f9a5eaff728f48710d8abe9ee9c012 (patch)
tree20c9d2a3aa2cc80e3b3e027ea184365df39d6769 /src/rhd_driver.c
parent97d82522aa95b21674cdadb55c9bdd88cc365fbb (diff)
Fix compilation in non-DRI case (invalid storage class errors).
Diffstat (limited to 'src/rhd_driver.c')
-rw-r--r--src/rhd_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rhd_driver.c b/src/rhd_driver.c
index 170120a..c8cd04a 100644
--- a/src/rhd_driver.c
+++ b/src/rhd_driver.c
@@ -414,8 +414,8 @@ RHDPciProbe(DriverPtr drv, int entityNum,
RES_SHARED_VGA, NULL, NULL, NULL, NULL);
if (pScrn != NULL) {
- if (dev) {
#ifdef USE_DRI
+ if (dev) {
Bool kms = RHDKMSEnabled(pScrn, dev);
if (kms) {
xf86DrvMsgVerb(pScrn->scrnIndex, X_ERROR, 0,