summaryrefslogtreecommitdiff
path: root/src/radeon_atombios.c
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-02-03 19:46:10 -0500
committerAlex Deucher <alexdeucher@gmail.com>2009-02-03 19:46:10 -0500
commit16e01a5796a8e8b86ad25d3aa45b9e7044dc72d1 (patch)
treeeff2ee17959a2873d03fe300d586e708ada5b3f4 /src/radeon_atombios.c
parent9abb09d5f43320bd27b336612d39d264fe93549f (diff)
Fix encoder accounting
Should fix bug 19924
Diffstat (limited to 'src/radeon_atombios.c')
-rw-r--r--src/radeon_atombios.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_atombios.c b/src/radeon_atombios.c
index 61eb62b0..87e89bac 100644
--- a/src/radeon_atombios.c
+++ b/src/radeon_atombios.c
@@ -1644,7 +1644,7 @@ radeon_add_encoder(ScrnInfoPtr pScrn, uint32_t encoder_id, uint32_t device_suppo
info->encoders[device_index] = (radeon_encoder_ptr)xcalloc(1,sizeof(radeon_encoder_rec));
if (info->encoders[device_index] != NULL) {
info->encoders[device_index]->encoder_id = encoder_id;
- info->encoders[device_index]->use_count = 0;
+ info->encoders[device_index]->devices = 0;
info->encoders[device_index]->dev_priv = NULL;
// add dev_priv stuff
switch (encoder_id) {