drm/prime: use proper pointer in drm_gem_prime_handle_to_fd
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 14 Aug 2013 22:02:41 +0000 (00:02 +0200)
committerDave Airlie <airlied@redhat.com>
Wed, 21 Aug 2013 02:53:46 +0000 (12:53 +1000)
commit4332bf438bbbc31319abed61d2ac6d9932ff980c
treecfa59641788eedac7ad58d063d3d054be11542fa
parentbecee2a57fd2b64c53ebef58277fbca895cf8ec1
drm/prime: use proper pointer in drm_gem_prime_handle_to_fd

Part of the function uses the properly-typed dmabuf variable, the
other an untyped void *buf. Kill the later.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_prime.c