From: Ville Syrjälä Date: Tue, 14 Aug 2012 10:53:38 +0000 (+0000) Subject: drm: Initialize object type when using DRM_MODE() macro X-Git-Tag: v3.6-rc4~5^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22f5d115a2b087c977128f84ee557ad71530330e;p=pandora-kernel.git 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ä Signed-off-by: Dave Airlie --- Reading git-diff-tree failed