drm: Move LOCK_TEST_WITH_RETURN to <drm/drm_legacy.h>
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 10 Sep 2014 10:43:58 +0000 (12:43 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 12 Sep 2014 13:28:13 +0000 (15:28 +0200)
commit8f1a2c8dc0dc5c2842e08f304ebdd34b5ddb982c
treef88c8f80b2096a4232a16259f69d67604d86bf03
parentba8286fab52652e431784d066b075c1bb4933ea1
drm: Move LOCK_TEST_WITH_RETURN to <drm/drm_legacy.h>

Unfortunately we can't move struct drm_lock_data easily since
it's embedded into struct drm_master. And figuring out where exactly
this struct should be allocated isn't that simple ...

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
include/drm/drmP.h
include/drm/drm_legacy.h