[Intel-gfx] [PATCH 2/2] drm/i915: Mark i915_hpd_poll_init_work as static

Tvrtko Ursulin tvrtko.ursulin at linux.intel.com
Wed Aug 17 11:29:36 UTC 2016


On 17/08/16 12:09, Chris Wilson wrote:
> Local function with forgotten static declaration.
>
> Fixes: 19625e85c6ec ("drm/i915: Enable polling when we don't have hpd")
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Ville Syrjälä <ville.syrjala at linux.intel.com>
> Cc: Daniel Vetter <daniel.vetter at ffwll.ch>
> Cc: Lyude <cpaul at redhat.com>
> ---
>   drivers/gpu/drm/i915/intel_hotplug.c | 3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/intel_hotplug.c b/drivers/gpu/drm/i915/intel_hotplug.c
> index 5dc2c20f6ca1..334d47b5811a 100644
> --- a/drivers/gpu/drm/i915/intel_hotplug.c
> +++ b/drivers/gpu/drm/i915/intel_hotplug.c
> @@ -477,7 +477,8 @@ void intel_hpd_init(struct drm_i915_private *dev_priv)
>   	spin_unlock_irq(&dev_priv->irq_lock);
>   }
>
> -void i915_hpd_poll_init_work(struct work_struct *work) {
> +static void i915_hpd_poll_init_work(struct work_struct *work)
> +{
>   	struct drm_i915_private *dev_priv =
>   		container_of(work, struct drm_i915_private,
>   			     hotplug.poll_init_work);
>

Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>

Regards,

Tvrtko


More information about the Intel-gfx mailing list