projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22ee861
)
drm/vmwgfx: Remove duplicate member from struct vmw_legacy_display_unit.
author
Jakob Bornecrantz
<
[email protected]
>
Fri, 28 May 2010 09:22:01 +0000
(11:22 +0200)
committer
Dave Airlie
<
[email protected]
>
Mon, 31 May 2010 23:37:29 +0000
(09:37 +1000)
Signed-off-by: Jakob Bornecrantz <
[email protected]
>
Signed-off-by: Thomas Hellstrom <
[email protected]
>
Signed-off-by: Dave Airlie <
[email protected]
>
drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c
b/drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c
index 8fde9bf8be41273094a59a1510072a1490af4895..b35d7b0fd48decadc80e96614f80566126b516b1 100644
(file)
--- a/
drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c
+++ b/
drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c
@@
-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)
@@
-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;
@@
-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;