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

Submitted by Harry Wentland on Dec. 6, 2016, 9:50 p.m.

Details

Message ID 20161206215002.28152-1-harry.wentland@amd.com
State New
Headers show
Series "drm/amd/display: Fix compile error about incompatible pointer types" ( rev: 1 ) in AMD X.Org drivers

Not browsing as part of any series.

Commit Message

Harry Wentland Dec. 6, 2016, 9:50 p.m.
Change-Id: I85e6a3c593450ba9a786b3ab0cbbb438dadf4184
Signed-off-by: Harry Wentland <harry.wentland@amd.com>
---
 drivers/gpu/drm/amd/display/dc/dce/dce_clocks.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

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;

Comments

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

Acked-by: Alex Deucher <alexander.deucher@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@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx