aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm/drmP.h
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-08-14 18:02:48 -0400
committerDave Airlie <airlied@redhat.com>2013-08-20 23:00:31 -0400
commitde9564d8b9e69bf6603521e810d3cb46fa98ad81 (patch)
tree7718486eb076af7fdf55458495181f9f41374204 /include/drm/drmP.h
parent838cd4455ee1c76db06175d44319a8e7ac114b0e (diff)
drm/prime: make drm_prime_lookup_buf_handle static
... and move it to the top of the function to avoid a forward declaration. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm/drmP.h')
-rw-r--r--include/drm/drmP.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h
index ce1e6bd30306..5914cc5c3fa6 100644
--- a/include/drm/drmP.h
+++ b/include/drm/drmP.h
@@ -1508,7 +1508,6 @@ int drm_gem_dumb_destroy(struct drm_file *file,
1508 1508
1509void drm_prime_init_file_private(struct drm_prime_file_private *prime_fpriv); 1509void drm_prime_init_file_private(struct drm_prime_file_private *prime_fpriv);
1510void drm_prime_destroy_file_private(struct drm_prime_file_private *prime_fpriv); 1510void drm_prime_destroy_file_private(struct drm_prime_file_private *prime_fpriv);
1511int drm_prime_lookup_buf_handle(struct drm_prime_file_private *prime_fpriv, struct dma_buf *dma_buf, uint32_t *handle);
1512void drm_prime_remove_buf_handle(struct drm_prime_file_private *prime_fpriv, struct dma_buf *dma_buf); 1511void drm_prime_remove_buf_handle(struct drm_prime_file_private *prime_fpriv, struct dma_buf *dma_buf);
1513 1512
1514#if DRM_DEBUG_CODE 1513#if DRM_DEBUG_CODE