summaryrefslogtreecommitdiff
path: root/src/radeon_bios.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/radeon_bios.c')
-rw-r--r--src/radeon_bios.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_bios.c b/src/radeon_bios.c
index 7025afac..52be98cc 100644
--- a/src/radeon_bios.c
+++ b/src/radeon_bios.c
@@ -231,7 +231,7 @@ static Bool RADEONGetATOMConnectorInfoFromBIOS (ScrnInfoPtr pScrn)
return FALSE;
}
- for (i = 0; i < 8; i++) {
+ for (i = 0; i < RADEON_MAX_BIOS_CONNECTOR; i++) {
if (info->BiosConnector[i].valid) {
for (j = 0; j < 8; j++) {
if (info->BiosConnector[j].valid && (i != j) ) {