summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_irq.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2012-05-31 14:57:41 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-06-01 10:00:27 +0200
commitd2ba8470ccfc90e0966c802632f8bb552f11143a (patch)
tree217446df5c765132ea154687d830eb040a7e5bcd /drivers/gpu/drm/i915/i915_irq.c
parentdrm/i915: l3 parity sysfs interface (diff)
downloadlinux-d2ba8470ccfc90e0966c802632f8bb552f11143a.tar.xz
linux-d2ba8470ccfc90e0966c802632f8bb552f11143a.zip
drm/i915: ivybridge_handle_parity_error should be static
Notice by Fengguang Wu's automatic sparse checker. Reported-by: Fengguang Wu <wfg@linux.intel.com> Reviewed-by: Ben Widawsky <ben@bwidawsk.net> Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_irq.c')
-rw-r--r--drivers/gpu/drm/i915/i915_irq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c
index 4a457521d76e..53356f44aba3 100644
--- a/drivers/gpu/drm/i915/i915_irq.c
+++ b/drivers/gpu/drm/i915/i915_irq.c
@@ -462,7 +462,7 @@ static void ivybridge_parity_work(struct work_struct *work)
kfree(parity_event[1]);
}
-void ivybridge_handle_parity_error(struct drm_device *dev)
+static void ivybridge_handle_parity_error(struct drm_device *dev)
{
drm_i915_private_t *dev_priv = (drm_i915_private_t *) dev->dev_private;
unsigned long flags;