From 406eec71116a58d42288a7f1c809a92d5bda7350 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Sat, 21 Apr 2007 18:56:28 +1000 Subject: radeon: fix build since patches for IBM don't actually build --- src/radeon_driver.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/radeon_driver.c') 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; } -- cgit v1.2.3