[PATCH 2/2] drm/amd/display/dc: make dce120_link_encoder_create static

Harry Wentland harry.wentland at amd.com
Fri Aug 11 01:41:03 UTC 2017


Both patches are
Reviewed-by: Harry Wentland <harry.wentland at amd.com>

Harry

On 2017-08-10 02:22 PM, Alex Deucher wrote:
> Only used in dce120_resource.c.
> 
> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
> ---
>  drivers/gpu/drm/amd/display/dc/dce120/dce120_resource.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/amd/display/dc/dce120/dce120_resource.c b/drivers/gpu/drm/amd/display/dc/dce120/dce120_resource.c
> index 6448d15..d4e9627 100644
> --- a/drivers/gpu/drm/amd/display/dc/dce120/dce120_resource.c
> +++ b/drivers/gpu/drm/amd/display/dc/dce120/dce120_resource.c
> @@ -535,7 +535,7 @@ static const struct encoder_feature_support link_enc_feature = {
>  		.flags.bits.IS_YCBCR_CAPABLE = true
>  };
>  
> -struct link_encoder *dce120_link_encoder_create(
> +static struct link_encoder *dce120_link_encoder_create(
>  	const struct encoder_init_data *enc_init_data)
>  {
>  	struct dce110_link_encoder *enc110 =
> 


More information about the amd-gfx mailing list