summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2007-04-21 18:56:28 +1000
committerDave Airlie <airlied@linux.ie>2007-04-21 18:56:28 +1000
commit406eec71116a58d42288a7f1c809a92d5bda7350 (patch)
treec642e6a7abea065646eb52e6523e35288ec61e0a
parentad119960095b4b64f4c6793f65950c9967ce4989 (diff)
radeon: fix build since patches for IBM don't actually build
-rw-r--r--src/radeon_driver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c
index bcc0882f..b9cce22e 100644
--- a/src/radeon_driver.c
+++ b/src/radeon_driver.c
@@ -2036,8 +2036,8 @@ static Bool RADEONPreInitModes(ScrnInfoPtr pScrn, xf86Int10InfoPtr pInt10)
if (info->IsDellServer)
info->ddc_mode = TRUE;
/* IBM Lewis server have troubles using the on-chip RMX mode */
- if (info->ChipFamily == CHIP_FAMILY_RV100 && !info->HasCRTC2 && pRADEONEnt->PortInfo[0]->MonInfo) {
- struct vendor *ven = &pRADEONEnt->PortInfo[0].MonInfo->vendor;
+ if (info->ChipFamily == CHIP_FAMILY_RV100 && !pRADEONEnt->HasCRTC2 && pRADEONEnt->PortInfo[0]->MonInfo) {
+ struct vendor *ven = &pRADEONEnt->PortInfo[0]->MonInfo->vendor;
if (ven && ven->prod_id == 0x029a && ven->serial == 0x01010101)
info->ddc_mode = TRUE;
}