]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/gpu/drm/armada/armada_crtc.c
drm: Remove unused drm_device from drm_gem_object_lookup()
[mirror_ubuntu-artful-kernel.git] / drivers / gpu / drm / armada / armada_crtc.c
index 0293eb74d777a8bd642326f3060c528e090b78f8..a9b7e0f365136ebdd1cdccea5f3b6f84dae4690e 100644 (file)
@@ -911,7 +911,7 @@ static int armada_drm_crtc_cursor_set(struct drm_crtc *crtc,
                if (w > 64 || h > 64 || (w > 32 && h > 32))
                        return -ENOMEM;
 
-               obj = armada_gem_object_lookup(dev, file, handle);
+               obj = armada_gem_object_lookup(file, handle);
                if (!obj)
                        return -ENOENT;