Commit d2ba8470 authored by Daniel Vetter's avatar Daniel Vetter

drm/i915: ivybridge_handle_parity_error should be static

Notice by Fengguang Wu's automatic sparse checker.
Reported-by: default avatarFengguang Wu <wfg@linux.intel.com>
Reviewed-by: default avatarBen Widawsky <ben@bwidawsk.net>
Signed-Off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 84bc7581
...@@ -462,7 +462,7 @@ static void ivybridge_parity_work(struct work_struct *work) ...@@ -462,7 +462,7 @@ static void ivybridge_parity_work(struct work_struct *work)
kfree(parity_event[1]); 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; drm_i915_private_t *dev_priv = (drm_i915_private_t *) dev->dev_private;
unsigned long flags; unsigned long flags;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment