]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: add virtual_setup_stream_attribute decl to header
authorTom Rix <trix@redhat.com>
Mon, 18 Apr 2022 19:48:30 +0000 (15:48 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Apr 2022 17:58:32 +0000 (13:58 -0400)
commit809de1d3c8afcb0827ca946a3037c0ff73a06e88
tree823f1645e8eb24858bda911da99c434f3bbde908
parentacb8f81fe8edc6f87a8128abbdad9ab2c99b6dd2
drm/amd/display: add virtual_setup_stream_attribute decl to header

Smatch reports this issue
virtual_link_hwss.c:32:6: warning: symbol
  'virtual_setup_stream_attribute' was not declared.
  Should it be static?

virtual_setup_stream_attribute is only used in
virtual_link_hwss.c, but the other functions in the
file are declared in the header file and used elsewhere.
For consistency, add the virtual_setup_stream_attribute
decl to virtual_link_hwss.h.

Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/virtual/virtual_link_hwss.h