diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2022-06-06 09:59:52 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-06-06 14:43:34 -0400 |
commit | b94b02d72e2b979a32addc8f5099fcf1f6ce9e7b (patch) | |
tree | dc5dce3e24561c3112ae99a6a0cfb4b3e2e4ee6c /drivers/gpu/drm/amd/display/dc/dcn31 | |
parent | 031ac4e419dfd8f099a0adba31f7f735013eb628 (diff) | |
download | linux-stable-b94b02d72e2b979a32addc8f5099fcf1f6ce9e7b.tar.gz linux-stable-b94b02d72e2b979a32addc8f5099fcf1f6ce9e7b.tar.bz2 linux-stable-b94b02d72e2b979a32addc8f5099fcf1f6ce9e7b.zip |
drm/amdgpu/display: make some functions static
Fixes "no previous prototype" warnings.
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dcn31')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dcn31/dcn31_dccg.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_dccg.c b/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_dccg.c index 8eeb3b69b5b9..0faa1abd35ba 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_dccg.c +++ b/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_dccg.c @@ -662,8 +662,8 @@ void dccg31_init(struct dccg *dccg) } } -void dccg31_otg_add_pixel(struct dccg *dccg, - uint32_t otg_inst) +static void dccg31_otg_add_pixel(struct dccg *dccg, + uint32_t otg_inst) { struct dcn_dccg *dccg_dcn = TO_DCN_DCCG(dccg); @@ -671,8 +671,8 @@ void dccg31_otg_add_pixel(struct dccg *dccg, OTG_ADD_PIXEL[otg_inst], 1); } -void dccg31_otg_drop_pixel(struct dccg *dccg, - uint32_t otg_inst) +static void dccg31_otg_drop_pixel(struct dccg *dccg, + uint32_t otg_inst) { struct dcn_dccg *dccg_dcn = TO_DCN_DCCG(dccg); |