[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7efa1e1dfd1e415d5614a0f8d266b144@codeaurora.org>
Date: Mon, 23 Nov 2020 13:14:06 -0800
From: abhinavk@...eaurora.org
To: Lee Jones <lee.jones@...aro.org>
Cc: freedreno@...ts.freedesktop.org, David Airlie <airlied@...ux.ie>,
linux-arm-msm@...r.kernel.org, linux-kernel@...r.kernel.org,
dri-devel@...ts.freedesktop.org, Rob Clark <robdclark@...il.com>,
Daniel Vetter <daniel@...ll.ch>, Sean Paul <sean@...rly.run>
Subject: Re: [Freedreno] [PATCH 38/40] drm/msm/msm_drv: Make '_msm_ioremap()'
static
On 2020-11-23 03:19, Lee Jones wrote:
> Fixes the following W=1 kernel build warning(s):
>
> drivers/gpu/drm/msm/msm_drv.c:124:15: warning: no previous prototype
> for ‘_msm_ioremap’ [-Wmissing-prototypes]
>
> Cc: Rob Clark <robdclark@...il.com>
> Cc: Sean Paul <sean@...rly.run>
> Cc: David Airlie <airlied@...ux.ie>
> Cc: Daniel Vetter <daniel@...ll.ch>
> Cc: linux-arm-msm@...r.kernel.org
> Cc: dri-devel@...ts.freedesktop.org
> Cc: freedreno@...ts.freedesktop.org
> Signed-off-by: Lee Jones <lee.jones@...aro.org>
Reviewed-by: Abhinav Kumar <abhinavk@...eaurora.org>
> ---
> drivers/gpu/drm/msm/msm_drv.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/msm/msm_drv.c
> b/drivers/gpu/drm/msm/msm_drv.c
> index 4d58668b80853..edc99e3b0eca7 100644
> --- a/drivers/gpu/drm/msm/msm_drv.c
> +++ b/drivers/gpu/drm/msm/msm_drv.c
> @@ -121,8 +121,8 @@ struct clk *msm_clk_get(struct platform_device
> *pdev, const char *name)
> return clk;
> }
>
> -void __iomem *_msm_ioremap(struct platform_device *pdev, const char
> *name,
> - const char *dbgname, bool quiet)
> +static void __iomem *_msm_ioremap(struct platform_device *pdev, const
> char *name,
> + const char *dbgname, bool quiet)
> {
> struct resource *res;
> unsigned long size;
Powered by blists - more mailing lists