[drm]: make drm_mode_object_find typesafe
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 11 Aug 2009 12:57:50 +0000 (14:57 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 10 Sep 2009 15:51:25 +0000 (17:51 +0200)
commitf8ebf4de97667748b370112e332e6f08cdea1027
tree3794ac9eda2f5cac8051747b39012bf9887ad909
parent74fca6a42863ffacaf7ba6f1936a9f228950f657
[drm]: make drm_mode_object_find typesafe

I've wasted half a day hunting a bug that could easily be spotted by
gcc. Prevent this from reoccurring.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_crtc.c
include/drm/drm_crtc.h