lkml.org 
[lkml]   [2020]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] drivers: drm: fix msm_drv.h warning
Should be fixed by:

https://patchwork.freedesktop.org/patch/397039/?series=83038&rev=1

On Mon, Nov 2, 2020 at 7:44 PM dev god <g0d3ph@gmail.com> wrote:
>
> Hi
>
> fix implicit declaration of function error.
>
> >> drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c:1229:7: error: implicit declaration of function 'msm_dp_display_pre_disable' [-Werror,-Wimplicit-function-declaration]
> if (msm_dp_display_pre_disable(priv->dp, drm_enc))
> ^
> drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c:1229:7: note: did you mean 'msm_dp_display_disable'?
> drivers/gpu/drm/msm/msm_drv.h:420:19: note: 'msm_dp_display_disable' declared here
> static inline int msm_dp_display_disable(struct msm_dp *dp,
> ^
> 1 error generated.
>
> Signed-off-by: Gah0 <g0d3ph@gmail.com>
> Reported-by: kernel test robot <lkp@intel.com>
> ---
> drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c
> index f7f5c258b553..52d9a82fb64f 100644
> --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c
> +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c
> @@ -14,7 +14,7 @@
> #include <drm/drm_file.h>
> #include <drm/drm_probe_helper.h>
>
> -#include "msm_drv.h"
> +#include "../../msm_drv.h"
> #include "dpu_kms.h"
> #include "dpu_hwio.h"
> #include "dpu_hw_catalog.h"
> --
> 2.25.1

\
 
 \ /
  Last update: 2020-11-03 17:54    [W:0.020 / U:0.376 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site