Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 199670
b: refs/heads/master
c: bbfad33
h: refs/heads/master
v: v3
  • Loading branch information
Jakob Bornecrantz authored and Dave Airlie committed May 31, 2010
1 parent cbc0bda commit e46e995
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 22ee861c816689b2566290356d54e4a01c9b2e74
refs/heads/master: bbfad33663fe8de1cce84ac776664292c46fe7ae
6 changes: 2 additions & 4 deletions trunk/drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ struct vmw_legacy_display_unit {
struct vmw_display_unit base;

struct list_head active;

unsigned unit;
};

static void vmw_ldu_destroy(struct vmw_legacy_display_unit *ldu)
Expand Down Expand Up @@ -204,7 +202,7 @@ static int vmw_ldu_add_active(struct vmw_private *vmw_priv,

at = &ld->active;
list_for_each_entry(entry, &ld->active, active) {
if (entry->unit > ldu->unit)
if (entry->base.unit > ldu->base.unit)
break;

at = &entry->active;
Expand Down Expand Up @@ -491,7 +489,7 @@ static int vmw_ldu_init(struct vmw_private *dev_priv, unsigned unit)
if (!ldu)
return -ENOMEM;

ldu->unit = unit;
ldu->base.unit = unit;
crtc = &ldu->base.crtc;
encoder = &ldu->base.encoder;
connector = &ldu->base.connector;
Expand Down

0 comments on commit e46e995

Please sign in to comment.