On Fri, Jan 8, 2021 at 3:15 PM Lee Jones <[email protected]> wrote:
>
> Fixes the following W=1 kernel build warning(s):
>
>  drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_dmcu.c:74:6: warning: no 
> previous prototype for ‘dce_dmcu_load_iram’ [-Wmissing-prototypes]
>  In file included from 
> drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_dmcu.c:31:
>
> Cc: Harry Wentland <[email protected]>
> Cc: Leo Li <[email protected]>
> Cc: Alex Deucher <[email protected]>
> Cc: "Christian König" <[email protected]>
> Cc: David Airlie <[email protected]>
> Cc: Daniel Vetter <[email protected]>
> Cc: Krunoslav Kovac <[email protected]>
> Cc: [email protected]
> Cc: [email protected]
> Signed-off-by: Lee Jones <[email protected]>

Applied.  Thanks!

Alex

> ---
>  drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c 
> b/drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c
> index f3ed8b619cafd..fa2b47d41ee2f 100644
> --- a/drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c
> +++ b/drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c
> @@ -71,7 +71,7 @@ static bool dce_dmcu_init(struct dmcu *dmcu)
>         return true;
>  }
>
> -bool dce_dmcu_load_iram(struct dmcu *dmcu,
> +static bool dce_dmcu_load_iram(struct dmcu *dmcu,
>                 unsigned int start_offset,
>                 const char *src,
>                 unsigned int bytes)
> --
> 2.25.1
>
> _______________________________________________
> dri-devel mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/dri-devel

Reply via email to