[PATCH] drm/amd/display: Fix compile error about incompatible pointer types
Harry Wentland
harry.wentland at amd.com
Tue Dec 6 21:50:02 UTC 2016
Change-Id: I85e6a3c593450ba9a786b3ab0cbbb438dadf4184
Signed-off-by: Harry Wentland <harry.wentland 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
More information about the amd-gfx
mailing list