diff options
author | Alex Deucher <alex@samba.(none)> | 2007-12-01 00:35:25 -0500 |
---|---|---|
committer | Alex Deucher <alex@samba.(none)> | 2007-12-01 00:35:25 -0500 |
commit | dcbef1ba9dfcf35c28e058832a55adf00afb472e (patch) | |
tree | 5b1758800fb2b6222e2ab42d7c1b3a2f6b893ac3 /src/radeon_atombios.c | |
parent | fdce0598a2228c48c84deae1d7bebb2d7b3e979b (diff) |
RADEON: fix typo in previous commit
check gpio table revision before connector table revision
Diffstat (limited to 'src/radeon_atombios.c')
-rw-r--r-- | src/radeon_atombios.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/radeon_atombios.c b/src/radeon_atombios.c index 1670020a..aa25ed3f 100644 --- a/src/radeon_atombios.c +++ b/src/radeon_atombios.c @@ -1445,16 +1445,16 @@ RADEONGetATOMConnectorInfoFromBIOSConnectorTable (ScrnInfoPtr pScrn) atomDataPtr = info->atomBIOS->atomDataPtr; if (!rhdAtomGetTableRevisionAndSize( - &(atomDataPtr->SupportedDevicesInfo.SupportedDevicesInfo->sHeader), + &(atomDataPtr->GPIO_I2C_Info->sHeader), &crev,&frev,NULL)) { - xf86DrvMsg(pScrn->scrnIndex, X_WARNING, "No Device Info Table found!\n"); + xf86DrvMsg(pScrn->scrnIndex, X_WARNING, "No GPIO Info Table found!\n"); return FALSE; } if (!rhdAtomGetTableRevisionAndSize( - &(atomDataPtr->GPIO_I2C_Info->sHeader), + &(atomDataPtr->SupportedDevicesInfo.SupportedDevicesInfo->sHeader), &crev,&frev,NULL)) { - xf86DrvMsg(pScrn->scrnIndex, X_WARNING, "No GPIO Info Table found!\n"); + xf86DrvMsg(pScrn->scrnIndex, X_WARNING, "No Device Info Table found!\n"); return FALSE; } |