[PATCH] drm/amd/display: Remove the repeated declaration

Alex Deucher alexdeucher at gmail.com
Wed May 26 02:22:05 UTC 2021


On Tue, May 25, 2021 at 6:51 AM Shaokun Zhang
<zhangshaokun at hisilicon.com> wrote:
>
> Function 'dc_power_down_on_boot' is declared twice, remove the
> repeated declaration.
>
> Cc: Harry Wentland <harry.wentland at amd.com>
> Cc: Leo Li <sunpeng.li at amd.com>
> Cc: Alex Deucher <alexander.deucher at amd.com>
> Signed-off-by: Shaokun Zhang <zhangshaokun at hisilicon.com>

Applied.  Thanks!

Alex

> ---
>  drivers/gpu/drm/amd/display/dc/dc.h | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h
> index 100d434f7a03..d4d7996be171 100644
> --- a/drivers/gpu/drm/amd/display/dc/dc.h
> +++ b/drivers/gpu/drm/amd/display/dc/dc.h
> @@ -1071,8 +1071,6 @@ bool dc_resource_is_dsc_encoding_supported(const struct dc *dc);
>   */
>  bool dc_commit_state(struct dc *dc, struct dc_state *context);
>
> -void dc_power_down_on_boot(struct dc *dc);
> -
>  struct dc_state *dc_create_state(struct dc *dc);
>  struct dc_state *dc_copy_state(struct dc_state *src_ctx);
>  void dc_retain_state(struct dc_state *context);
> --
> 2.7.4
>


More information about the dri-devel mailing list