[PATCH] drm/amd/display: make virtual_disable_link_output static
Harry Wentland
harry.wentland at amd.com
Tue Oct 11 15:22:53 UTC 2022
On 2022-10-10 10:41, Alex Deucher wrote:
> It's not used outside of virtual_link_hwss.c. Fixes
> a -Wmissing-prototypes warning.
>
> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
Reviewed-by: Harry Wentland <harry.wentland at amd.com>
Harry
> ---
> drivers/gpu/drm/amd/display/dc/virtual/virtual_link_hwss.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/display/dc/virtual/virtual_link_hwss.c b/drivers/gpu/drm/amd/display/dc/virtual/virtual_link_hwss.c
> index 9522fe0b36c9..4f7f99156897 100644
> --- a/drivers/gpu/drm/amd/display/dc/virtual/virtual_link_hwss.c
> +++ b/drivers/gpu/drm/amd/display/dc/virtual/virtual_link_hwss.c
> @@ -37,7 +37,7 @@ void virtual_reset_stream_encoder(struct pipe_ctx *pipe_ctx)
> {
> }
>
> -void virtual_disable_link_output(struct dc_link *link,
> +static void virtual_disable_link_output(struct dc_link *link,
> const struct link_resource *link_res,
> enum signal_type signal)
> {
More information about the amd-gfx
mailing list