[PATCH] drm/i915: Remove the repeated declaration

Jani Nikula jani.nikula at linux.intel.com
Wed May 26 13:35:53 UTC 2021


On Tue, 25 May 2021, Shaokun Zhang <zhangshaokun at hisilicon.com> wrote:
> Function 'intel_dbuf_init' is declared twice, remove the
> repeated declaration.
>
> Cc: Jani Nikula <jani.nikula at linux.intel.com>
> Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
> Cc: Rodrigo Vivi <rodrigo.vivi at intel.com>
> Signed-off-by: Shaokun Zhang <zhangshaokun at hisilicon.com>

Thanks, pushed to drm-intel-next.

BR,
Jani.

> ---
>  drivers/gpu/drm/i915/intel_pm.h | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/intel_pm.h b/drivers/gpu/drm/i915/intel_pm.h
> index 669c8d505677..63938e45fc79 100644
> --- a/drivers/gpu/drm/i915/intel_pm.h
> +++ b/drivers/gpu/drm/i915/intel_pm.h
> @@ -83,8 +83,6 @@ struct intel_dbuf_state {
>  	u8 active_pipes;
>  };
>  
> -int intel_dbuf_init(struct drm_i915_private *dev_priv);
> -
>  struct intel_dbuf_state *
>  intel_atomic_get_dbuf_state(struct intel_atomic_state *state);

-- 
Jani Nikula, Intel Open Source Graphics Center


More information about the dri-devel mailing list