Commit b70cfd91 authored by Jiapeng Chong's avatar Jiapeng Chong Committed by Alex Deucher

drm/amd/display: make some functions static

These functions are not used outside the file dcn32_hubbub.c, so the
modification is defined as static.

drivers/gpu/drm/amd/amdgpu/../display/dc/dcn314/dcn314_dccg.c:223:6: warning: no previous prototype for ‘dccg314_set_valid_pixel_rate’.
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn314/dcn314_dccg.c:184:6: warning: no previous prototype for ‘dccg314_set_dpstreamclk’.
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn314/dcn314_dccg.c:140:6: warning: no previous prototype for ‘dccg314_set_dtbclk_dto’.

Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2144Reported-by: default avatarAbaci Robot <abaci@linux.alibaba.com>
Signed-off-by: default avatarJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent d67927e4
...@@ -137,7 +137,7 @@ static void dccg314_set_dtbclk_p_src( ...@@ -137,7 +137,7 @@ static void dccg314_set_dtbclk_p_src(
} }
/* Controls the generation of pixel valid for OTG in (OTG -> HPO case) */ /* Controls the generation of pixel valid for OTG in (OTG -> HPO case) */
void dccg314_set_dtbclk_dto( static void dccg314_set_dtbclk_dto(
struct dccg *dccg, struct dccg *dccg,
const struct dtbclk_dto_params *params) const struct dtbclk_dto_params *params)
{ {
...@@ -181,7 +181,7 @@ void dccg314_set_dtbclk_dto( ...@@ -181,7 +181,7 @@ void dccg314_set_dtbclk_dto(
} }
} }
void dccg314_set_dpstreamclk( static void dccg314_set_dpstreamclk(
struct dccg *dccg, struct dccg *dccg,
enum streamclk_source src, enum streamclk_source src,
int otg_inst, int otg_inst,
...@@ -220,7 +220,7 @@ void dccg314_set_dpstreamclk( ...@@ -220,7 +220,7 @@ void dccg314_set_dpstreamclk(
} }
} }
void dccg314_set_valid_pixel_rate( static void dccg314_set_valid_pixel_rate(
struct dccg *dccg, struct dccg *dccg,
int ref_dtbclk_khz, int ref_dtbclk_khz,
int otg_inst, int otg_inst,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment