From: Thomas Hellstrom Date: Thu, 20 Aug 2009 09:02:31 +0000 (+1000) Subject: drm: Fix sysfs device confusion. X-Git-Tag: v2.6.31-rc7~2^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08e4d534743f4e9af3602aebbc1cca9372762028;p=pandora-kernel.git drm: Fix sysfs device confusion. The drm sysfs class suspend / resume methods could not distinguish between different device types wich could lead to illegal type casts. Use struct device_type and make sure the class suspend / resume callbacks are aware of those. There is no per device-type suspend / resume. Only new-style PM. Signed-off-by: Thomas Hellstrom Reviewed-by: Jesse Barnes Signed-off-by: Dave Airlie --- Reading git-diff-tree failed