[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAOw6vbJLhUHdditnN6W2K=NQ71b_+oHyDF6GfxOEvw9zPHrn3A@mail.gmail.com>
Date: Tue, 27 Sep 2016 12:34:04 -0400
From: Sean Paul <seanpaul@...gle.com>
To: Baoyou Xie <baoyou.xie@...aro.org>
Cc: CK HU <ck.hu@...iatek.com>, p.zabel@...gutronix.de,
Dave Airlie <airlied@...ux.ie>,
Matthias Brugger <matthias.bgg@...il.com>,
姚智情 <mark.yao@...k-chips.com>,
Heiko Stübner <heiko@...ech.de>,
dri-devel <dri-devel@...ts.freedesktop.org>,
Linux ARM Kernel <linux-arm-kernel@...ts.infradead.org>,
linux-mediatek@...ts.infradead.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
linux-rockchip@...ts.infradead.org, Arnd Bergmann <arnd@...db.de>,
Baoyou Xie <xie.baoyou@....com.cn>, han.fei@....com.cn,
tang.qiang007@....com.cn
Subject: Re: [PATCH 1/2] drm/rockchip: add missing header dependencies
On Sun, Sep 25, 2016 at 3:38 AM, Baoyou Xie <baoyou.xie@...aro.org> wrote:
> We get 2 warnings when building kernel with W=1:
> drivers/gpu/drm/rockchip/rockchip_drm_fbdev.c:130:5: warning: no previous prototype for 'rockchip_drm_fbdev_init' [-Wmissing-prototypes]
> drivers/gpu/drm/rockchip/rockchip_drm_fbdev.c:173:6: warning: no previous prototype for 'rockchip_drm_fbdev_fini' [-Wmissing-prototypes]
>
> In fact, these functions are declared
> in drivers/gpu/drm/rockchip/rockchip_drm_fbdev.h,
> so this patch adds missing header dependencies.
>
> Signed-off-by: Baoyou Xie <baoyou.xie@...aro.org>
Applied to -misc, thanks.
Sean
> ---
> drivers/gpu/drm/rockchip/rockchip_drm_fbdev.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_fbdev.c b/drivers/gpu/drm/rockchip/rockchip_drm_fbdev.c
> index 207e01d..a16c69f 100644
> --- a/drivers/gpu/drm/rockchip/rockchip_drm_fbdev.c
> +++ b/drivers/gpu/drm/rockchip/rockchip_drm_fbdev.c
> @@ -20,6 +20,7 @@
> #include "rockchip_drm_drv.h"
> #include "rockchip_drm_gem.h"
> #include "rockchip_drm_fb.h"
> +#include "rockchip_drm_fbdev.h"
>
> #define PREFERRED_BPP 32
> #define to_drm_private(x) \
> --
> 2.7.4
>
Powered by blists - more mailing lists