Commit b94b02d7 authored by Alex Deucher's avatar Alex Deucher

drm/amdgpu/display: make some functions static

Fixes "no previous prototype" warnings.
Reviewed-by: default avatarHarry Wentland <harry.wentland@amd.com>
Reported-by: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 031ac4e4
......@@ -487,7 +487,7 @@ static void dcn32_update_clocks(struct clk_mgr *clk_mgr_base,
clk_mgr_base->clks.dispclk_khz / 1000 / 7);
}
void dcn32_clock_read_ss_info(struct clk_mgr_internal *clk_mgr)
static void dcn32_clock_read_ss_info(struct clk_mgr_internal *clk_mgr)
{
struct dc_bios *bp = clk_mgr->base.ctx->dc_bios;
int ss_info_num = bp->funcs->get_ss_entry_number(
......
......@@ -662,7 +662,7 @@ void dccg31_init(struct dccg *dccg)
}
}
void dccg31_otg_add_pixel(struct dccg *dccg,
static void dccg31_otg_add_pixel(struct dccg *dccg,
uint32_t otg_inst)
{
struct dcn_dccg *dccg_dcn = TO_DCN_DCCG(dccg);
......@@ -671,7 +671,7 @@ void dccg31_otg_add_pixel(struct dccg *dccg,
OTG_ADD_PIXEL[otg_inst], 1);
}
void dccg31_otg_drop_pixel(struct dccg *dccg,
static void dccg31_otg_drop_pixel(struct dccg *dccg,
uint32_t otg_inst)
{
struct dcn_dccg *dccg_dcn = TO_DCN_DCCG(dccg);
......
......@@ -177,7 +177,7 @@ void dccg32_set_dtbclk_dto(
}
}
void dccg32_set_valid_pixel_rate(
static void dccg32_set_valid_pixel_rate(
struct dccg *dccg,
int ref_dtbclk_khz,
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