summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/i915_debugfs.c
diff options
context:
space:
mode:
authorBen Widawsky <ben@bwidawsk.net>2012-04-16 14:07:40 -0700
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-04-18 10:34:49 +0200
commitc43b5634037ff00c83cde4ab7fc5e46831c846ef (patch)
tree38381d5ba104db965999b740c85c76e66c5003d7 /drivers/gpu/drm/i915/i915_debugfs.c
parentdf0323c42ac35f81b49e25fe04e8e52b9c6f6467 (diff)
downloadlwn-c43b5634037ff00c83cde4ab7fc5e46831c846ef.tar.gz
lwn-c43b5634037ff00c83cde4ab7fc5e46831c846ef.zip
drm/i915: [sparse] trivial sparse fixes
This should contain all the changes which require no thought to make sparse happy. Signed-off-by: Ben Widawsky <benjamin.widawsky@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_debugfs.c')
-rw-r--r--drivers/gpu/drm/i915/i915_debugfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c
index 97c963082d4d..35462df7cefd 100644
--- a/drivers/gpu/drm/i915/i915_debugfs.c
+++ b/drivers/gpu/drm/i915/i915_debugfs.c
@@ -1832,7 +1832,7 @@ static int i915_forcewake_open(struct inode *inode, struct file *file)
return 0;
}
-int i915_forcewake_release(struct inode *inode, struct file *file)
+static int i915_forcewake_release(struct inode *inode, struct file *file)
{
struct drm_device *dev = inode->i_private;
struct drm_i915_private *dev_priv = dev->dev_private;