summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2008-09-23 16:50:22 +1000
committerDave Airlie <airlied@redhat.com>2008-09-23 16:50:22 +1000
commit3d1825729370a8009f4d7ceae91a16cfd6b7956c (patch)
tree444cf8daf4fdb1f304564d13d5fd270b40569062 /linux-core
parent5fdfbee22acb8eaaa834457c30e6f68883ab1353 (diff)
radeon: Fix type in check for tmds type.
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/radeon_display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/radeon_display.c b/linux-core/radeon_display.c
index e8d141ec..257f0ac7 100644
--- a/linux-core/radeon_display.c
+++ b/linux-core/radeon_display.c
@@ -269,7 +269,7 @@ bool radeon_setup_enc_conn(struct drm_device *dev)
else {
if (mode_info->bios_connector[i].tmds_type == TMDS_INT)
encoder = radeon_encoder_legacy_tmds_int_add(dev, i);
- else if (mode_info->bios_connector[i].dac_type == TMDS_EXT)
+ else if (mode_info->bios_connector[i].tmds_type == TMDS_EXT)
encoder = radeon_encoder_legacy_tmds_ext_add(dev, i);
}
if (encoder)