commit | 22f5d115a2b087c977128f84ee557ad71530330e | [log] [tgz] |
---|---|---|
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | Tue Aug 14 10:53:38 2012 +0000 |
committer | Dave Airlie <airlied@redhat.com> | Fri Aug 24 09:38:31 2012 +1000 |
tree | 19ef3050d451e01237e2649ecadbffc96ff7bb60 | |
parent | fea7a08acb13524b47711625eebea40a0ede69a0 [diff] |
drm: Initialize object type when using DRM_MODE() macro DRM_MODE() macro doesn't initialize the type of the base drm object. When a copy is made of the mode, the object type is overwritten with zero, and the the object can no longer be found by drm_mode_object_find() due to the type check failing. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Dave Airlie <airlied@redhat.com>