diff options
Diffstat (limited to 'src/radeon_probe.c')
-rw-r--r-- | src/radeon_probe.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/radeon_probe.c b/src/radeon_probe.c index 38fe0b04..4f7d4946 100644 --- a/src/radeon_probe.c +++ b/src/radeon_probe.c @@ -135,6 +135,7 @@ radeon_get_scrninfo(int entity_num, void *pci_dev) pScrn->Probe = RADEONProbe; #endif +#ifdef XF86DRM_MODE if (kms == 1) { pScrn->PreInit = RADEONPreInit_KMS; pScrn->ScreenInit = RADEONScreenInit_KMS; @@ -144,7 +145,8 @@ radeon_get_scrninfo(int entity_num, void *pci_dev) pScrn->LeaveVT = RADEONLeaveVT_KMS; pScrn->FreeScreen = RADEONFreeScreen_KMS; pScrn->ValidMode = RADEONValidMode; - } else { + } else +#endif { pScrn->PreInit = RADEONPreInit; pScrn->ScreenInit = RADEONScreenInit; pScrn->SwitchMode = RADEONSwitchMode; |