Skip to contentSkip to conversation

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

PATCH In review Harry Wentland 2 participants 2 messages Dec 6, 2016 – Dec 7, 2016 1 message not in the archive

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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

Change-Id I85e6a3c593450ba9a786b3ab0cbbb438dadf4184
---
 drivers/gpu/drm/amd/display/dc/dce/dce_clocks.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/display/dc/dce/dce_clocks.c +1 -1
index 524aacead8a2..846754c16831 100644
@@ -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;
Signature · 6 lines
2.9.3

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): 20161206215002.28152-1-harry.wentland-5C7GfCeVMHo@public.gmane.org

Acked-by
#2 lore raw
Quoted 2 lines · Harry Wentland
Change-Id I85e6a3c593450ba9a786b3ab0cbbb438dadf4184
Quoted 20 lines
---
 drivers/gpu/drm/amd/display/dc/dce/dce_clocks.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/display/dc/dce/dce_clocks.c +1 -2
index 524aacead8a2..846754c16831 100644
@@ -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

Quoted 4 lines

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx