drm/amd/display: Turn functions into static
authorMagali Lemes <magalilemes00@gmail.com>
Thu, 24 Feb 2022 19:15:51 +0000 (16:15 -0300)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 24 Feb 2022 22:26:25 +0000 (17:26 -0500)
commitf728eb3a5028aa87ec85f0de5c03daee78fdc544
treee058e8263bec714ef01ba2311b62e5698388a305
parentb83e1ba9395dd39f6336358dd0cbc8ca6ced21e7
drm/amd/display: Turn functions into static

Silence [-Wmissing-prototypes] sparse warnings from the display folder
such as:

../drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn315/dcn315_smu.c:126:5: warning: no previous prototype for ‘dcn315_smu_send_msg_with_param’ [-Wmissing-prototypes]
  126 | int dcn315_smu_send_msg_with_param(
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

v2: drop unused function dcn315_smu_set_voltage_via_phyclk() to avoid
    adding a warning (Alex)

Cc: Qingqing Zhuo (Lillian) <qingqing.zhuo@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Magali Lemes <magalilemes00@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/dcn315_clk_mgr.c
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/dcn315_smu.c
drivers/gpu/drm/amd/display/dc/irq/dcn315/irq_service_dcn315.c