]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
drm: make drm_mode_object_find typesafe
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 15 Sep 2009 20:57:31 +0000 (22:57 +0200)
committerEric Anholt <eric@anholt.net>
Thu, 5 Nov 2009 22:47:06 +0000 (14:47 -0800)
commit7a9c906094de8b3dc227de448019dbc386cd25d4
treebf7ebc3d31e27b449ec0e000bfd65eddf758fc6b
parent97f5ab6651a996ecefed73e41684422f3b29d9a8
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>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/drm_crtc.c
include/drm/drm_crtc.h