]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/gpu/drm/i915/i915_dma.c
drm/i915: Corrected 'file_priv' to 'file' in 'i915_driver_preclose()'
authorJohn Harrison <John.C.Harrison@Intel.com>
Thu, 26 Jun 2014 17:23:52 +0000 (18:23 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 7 Jul 2014 18:00:44 +0000 (20:00 +0200)
commit2885f6ac070612f21d041f650a4d2bc44b02d6b6
tree59dfc868b7b486c90b5c256e7e8af3385ca04a18
parentfabf6e513f640dac89645e1a98376eb8064394ee
drm/i915: Corrected 'file_priv' to 'file' in 'i915_driver_preclose()'

The 'i915_driver_preclose()' function has a parameter called 'file_priv'.
However, this is misleading as the structure it points to is a 'drm_file' not a
'drm_i915_file_private'. It should be named just 'file' to avoid confusion.

Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/i915_drv.h