summaryrefslogtreecommitdiffstats
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
parent84bc758124127a5b16b30f9a8bf5f1a981affc6b (diff)
downloadop-kernel-dev-d2ba8470ccfc90e0966c802632f8bb552f11143a.zip
op-kernel-dev-d2ba8470ccfc90e0966c802632f8bb552f11143a.tar.gz
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>
-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 4a45752..53356f4 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;
OpenPOWER on IntegriCloud