[PATCH] drm/amd/display: Fix compile error about incompatible pointer types

Alex Deucher alexdeucher at gmail.com
Wed Dec 7 16:19:58 UTC 2016


On Tue, Dec 6, 2016 at 4:50 PM, Harry Wentland <harry.wentland at amd.com> wrote:
> Change-Id: I85e6a3c593450ba9a786b3ab0cbbb438dadf4184
> Signed-off-by: Harry Wentland <harry.wentland at amd.com>

Acked-by: Alex Deucher <alexander.deucher at amd.com>

> ---
>  drivers/gpu/drm/amd/display/dc/dce/dce_clocks.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_clocks.c b/drivers/gpu/drm/amd/display/dc/dce/dce_clocks.c
> index 524aacead8a2..846754c16831 100644
> --- a/drivers/gpu/drm/amd/display/dc/dce/dce_clocks.c
> +++ b/drivers/gpu/drm/amd/display/dc/dce/dce_clocks.c
> @@ -68,7 +68,7 @@ enum divider_range_step_size {
>  };
>
>
> -static int dce_clocks_get_dp_ref_freq(struct display_clock *clk)
> +static uint32_t dce_clocks_get_dp_ref_freq(struct display_clock *clk)
>  {
>         struct dce_disp_clk *clk_dce = TO_DCE_CLOCKS(clk);
>         int dprefclk_wdivider;
> --
> 2.9.3
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx


More information about the amd-gfx mailing list