Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a658b5d2 authored by Damien Lespiau's avatar Damien Lespiau Committed by Daniel Vetter
Browse files

drm/i915: Make i915_hangcheck_elapsed() static

parent c55651b3
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1665,7 +1665,6 @@ extern void intel_console_resume(struct work_struct *work);

/* i915_irq.c */
void i915_queue_hangcheck(struct drm_device *dev);
void i915_hangcheck_elapsed(unsigned long data);
void i915_handle_error(struct drm_device *dev, bool wedged);

extern void intel_irq_init(struct drm_device *dev);
+1 −1
Original line number Diff line number Diff line
@@ -1869,7 +1869,7 @@ ring_stuck(struct intel_ring_buffer *ring, u32 acthd)
 * we kick the ring. If we see no progress on three subsequent calls
 * we assume chip is wedged and try to fix it by resetting the chip.
 */
void i915_hangcheck_elapsed(unsigned long data)
static void i915_hangcheck_elapsed(unsigned long data)
{
	struct drm_device *dev = (struct drm_device *)data;
	drm_i915_private_t *dev_priv = dev->dev_private;